diff options
| author | yalh76 <yalh@yahoo.com> | 2020-05-26 13:44:21 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2020-05-26 13:44:21 +0200 |
| commit | 5108846acb8628d01aec2f8444e2256be2f13fae (patch) | |
| tree | 680141626bb4943df073a3003332ed7b794101f8 /scripts/upgrade | |
| parent | 117393a2f5beacc301df6271b0f62b3a0bd2c090 (diff) | |
| download | mastodon_ynh-5108846acb8628d01aec2f8444e2256be2f13fae.tar.gz mastodon_ynh-5108846acb8628d01aec2f8444e2256be2f13fae.tar.bz2 mastodon_ynh-5108846acb8628d01aec2f8444e2256be2f13fae.zip | |
cron job to cron file
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index f14c08b..d578415 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -300,9 +300,9 @@ popd ynh_store_file_checksum --file="$config" #================================================= -# SETUP CRON JOB FOR REMOVING CACHE +# SETUP THE CRON FILE #================================================= -ynh_script_progression --message="Setuping a cron job..." --weight=1 +ynh_script_progression --message="Setuping the cron file..." --weight=1 ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/cron" cp -f ../conf/cron /etc/cron.d/$app |
