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

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -