diff --git a/VERSION b/VERSION index cc868b6..4bac418 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.1 \ No newline at end of file +4.0.2 \ No newline at end of file diff --git a/overlay/etc/periodic/15min/fr-cron b/overlay/etc/periodic/15min/fr-cron index 19390e3..e329474 100644 --- a/overlay/etc/periodic/15min/fr-cron +++ b/overlay/etc/periodic/15min/fr-cron @@ -4,7 +4,7 @@ set -euo pipefail #====================================================================================================================== -# Call freshrss-refresh executable +# Call fr-actualize executable #====================================================================================================================== -fr-cron +fr-actualize diff --git a/overlay/usr/bin/bf/fr-actualize b/overlay/usr/bin/bf/fr-actualize new file mode 100644 index 0000000..dace34c --- /dev/null +++ b/overlay/usr/bin/bf/fr-actualize @@ -0,0 +1,10 @@ +#!/usr/bin/nu + +use bf +bf env load -x + +# Call FreshRSS actualize script. +def main [] { + bf write debug "Actualizing FreshRSS feeds." + ^php $"(bf env FR_SRC)/app/actualize_script.php" +} diff --git a/overlay/usr/bin/bf/fr-cron b/overlay/usr/bin/bf/fr-cron deleted file mode 100644 index 2168199..0000000 --- a/overlay/usr/bin/bf/fr-cron +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/withenv sh - -set -euo pipefail - - -#====================================================================================================================== -# Execute FreshRSS cron -#====================================================================================================================== - -bf-write-debug "Executing FreshRSS cron." fr-cron -^php "$(bf-env FR_SRC)/app/actualize_script.php"