bash - How can I execute a cron job five seconds after the full minute? -
basically trying execute script '/path/to/my/script/script.sh -value 2' 'testuser' @ every minute's 5th second. (5 seconds delay required "some reason" have been part of script itself, want put on cron).
is right way this?
* * * * * testuser sleep 5 && /path/to/my/script/script.sh -value 2
yes. yes will.
Comments
Post a Comment