Changed cron timing to avoid clashes with other regular cron jobs

This commit is contained in:
David Buscher 2021-12-12 10:48:22 +00:00
parent 665898ffa8
commit bff33afabb

View file

@ -338,7 +338,7 @@ def firewall_upnp(action="status", no_refresh=False):
# Add cron job # Add cron job
with open(UPNP_CRON_JOB, "w+") as f: with open(UPNP_CRON_JOB, "w+") as f:
f.write( f.write(
"*/10 * * * * root " "*/12 * * * * root "
"/usr/bin/yunohost firewall upnp status >>/dev/null\n" "/usr/bin/yunohost firewall upnp status >>/dev/null\n"
) )
enabled = True enabled = True