How many times will a cron job run when given asterisk (*) on all positions?

If we define a cron job with * * * * * /some/task/to/perform, how many times will the job be executed in 60 seconds?

2 Answers

Once every 60 seconds i.e. every minute.

Check man 5 crontab to get more idea on this.

Once. It will execute exactly once every 60 seconds (except when there's a leap second added or removed).

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like