We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
" If you want to run a shell script on all the servers every day at 4 a.m., add the cron job with: "
$ ansible multi -b -m cron -a "name='daily-cron-all-servers' \ hour=4 job='/path/to/daily-script.sh'”
But this runs the cron every minute of the hour because minute has default value *.
minute
*
To run the cron only once at 4 a.m., we need to add minute=0 to the command.
minute=0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
" If you want to run a shell script on all the servers every day at 4 a.m., add the cron job with: "
But this runs the cron every minute of the hour because
minute
has default value*
.To run the cron only once at 4 a.m., we need to add
minute=0
to the command.The text was updated successfully, but these errors were encountered: