Reputation: 21
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
Upvotes: 0
Views: 401