mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Cron timing.
This commit is contained in:
parent
e45697fc56
commit
cda325aa0f
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ def tools_upgrade_v24(auth):
|
|||
|
||||
# Prepare systemctl
|
||||
with open('/etc/cron.d/yunohost-regenconf', 'w+') as f:
|
||||
f.write('00 * * * * root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin systemctl start yunohost-api && rm -f /etc/cron.d/yunohost-regenconf\n' )
|
||||
f.write('* * * * * root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin systemctl start yunohost-api && rm -f /etc/cron.d/yunohost-regenconf\n' )
|
||||
|
||||
# Reboot user notice
|
||||
msignals.display(m18n.n('upgrade_24_reboot'), 'warning')
|
||||
|
|
Loading…
Add table
Reference in a new issue