randomize api call time

This commit is contained in:
Spitap
2022-11-29 13:45:31 +01:00
parent bc12ca7327
commit bd1ddcef21
2 changed files with 5 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ INSTANCE=%{instance_path}
*/30 * * * * root $PYTHON $INSTANCE/manage.py modo check_mx
# Public API communication
0 * * * * root $PYTHON $INSTANCE/manage.py communicate_with_public_api
%{minute} %{hours} * * * root $PYTHON $INSTANCE/manage.py communicate_with_public_api
# Generate DKIM keys (they will belong to the user running this job)
%{opendkim_enabled}* * * * * %{opendkim_user} umask 077 && $PYTHON $INSTANCE/manage.py modo manage_dkim_keys