0

Basically I am trying to execute the script '/path/to/my/script/script.sh -value 2' as 'testuser' at every minute's 5th second. (5 seconds is the delay required for "some reason" which could have been part of the script itself, but I just want to put it on Cron).

Is this the right way to do this?

* * * * * testuser sleep 5 && /path/to/my/script/script.sh -value 2
Paŭlo Ebermann
  • 73,284
  • 20
  • 146
  • 210
  • May be a dupe of http://stackoverflow.com/questions/3331577/cron-jobs-to-run-every-5-seconds –  Sep 28 '10 at 15:30

1 Answers1

2

Yes. Yes it will.

mob
  • 117,087
  • 18
  • 149
  • 283