ericgaspar
5 years ago
No known key found for this signature in database
GPG Key ID: 574F281483054D44
3 changed files with
5 additions and
5 deletions
-
conf/nextcloud.cron
-
scripts/install
-
scripts/upgrade
|
|
@ -1 +1 @@ |
|
|
*/15 * * * * __USER__ /usr/bin/php__YNH_PHP_VERSION__ -f __DESTDIR__/cron.php |
|
|
|
|
|
|
|
|
*/15 * * * * __USER__ /usr/bin/php__PHPVERSION__ -f __FINALPATH__/cron.php |
|
|
@ -269,8 +269,8 @@ chown root: "$cron_path" |
|
|
chmod 644 "$cron_path" |
|
|
chmod 644 "$cron_path" |
|
|
|
|
|
|
|
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="$cron_path" |
|
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="$cron_path" |
|
|
ynh_replace_string --match_string="__DESTDIR__" --replace_string="$final_path" --target_file="$cron_path" |
|
|
|
|
|
ynh_replace_string --match_string="__YNH_PHP_VERSION__" --replace_string="$phpversion" --target_file="$cron_path" |
|
|
|
|
|
|
|
|
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$cron_path" |
|
|
|
|
|
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="$cron_path" |
|
|
|
|
|
|
|
|
exec_occ background:cron |
|
|
exec_occ background:cron |
|
|
|
|
|
|
|
|
|
|
|
@ -405,8 +405,8 @@ chown root: "$cron_path" |
|
|
chmod 644 "$cron_path" |
|
|
chmod 644 "$cron_path" |
|
|
|
|
|
|
|
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="$cron_path" |
|
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="$cron_path" |
|
|
ynh_replace_string --match_string="__DESTDIR__" --replace_string="$final_path" --target_file="$cron_path" |
|
|
|
|
|
ynh_replace_string --match_string="__YNH_PHP_VERSION__" --replace_string="$phpversion" --target_file="$cron_path" |
|
|
|
|
|
|
|
|
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$cron_path" |
|
|
|
|
|
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="$cron_path" |
|
|
|
|
|
|
|
|
exec_occ background:cron |
|
|
exec_occ background:cron |
|
|
|
|
|
|
|
|
|