I know how to do every minute, but how about every 10 seconds?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
migrated from stackoverflow.com Mar 11 '11 at 3:54
|
You can't schedule the job every ten seconds, but I suppose you could schedule the job to run every minute, and sleep in a loop in 10s intervals. This would be predicated on your command being completed before the ten second interval expires, or you'll get overlap when the next command runs. This feels like a precarious solution, but if you can guarantee very short execution of the main command of the script, it would work.
|
|||||
|
|
Take a look at this forum post where the solution is discussed : |
|||
|
|