1

I want set run a file with cron at 12:03:37 every day. How do I set set cron to run a file accurately in seconds?

Brad Koch
  • 16,415
  • 18
  • 102
  • 128
yuli chika
  • 8,479
  • 19
  • 73
  • 121

1 Answers1

5

You could set it up to run at 12:03 and then sleep for 37 seconds:

3 12 * * * root sleep 37; /path/to/your/script
Ramon
  • 7,604
  • 3
  • 30
  • 41