Thursday, July 26, 2018

scheduled task - cron - How many times the cron job will run when given aterisk(*) on all positions




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


Answer



The cron job runs every minute.



Unix cron is limited to minutes. If you want faster cronjob execution see How can I schedule a cron job that runs every 10 seconds in linux?


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...