Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Run a cron process more than every minute' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run a cron process more than every minute
Authored by: skrawcke on May 16, '07 08:23:56AM
if you wanted to do this for a set period of time like 12 hours you could do.
for X in {1..2880}
open /path/to/
sleep 15

this will run the /path/to/ 2880 times once every 15 sec.
you could also add a few lines like

/bin/date > /var/log/nameofsomelog
echo "Ran /path/to/ # $X" > /var/log/nameofsomelog

[ Reply to This | # ]