7 Mar
2012
7 Mar
'12
4:15 p.m.
I need to run a script every second. The script will complete within milliseconds so the hardware is capable, all I am looking for is a reliable way to schedule it. Basically I want a higher-resolution cron. Any suggestions? One option is to write a script which runs every minute and does along the lines of: for($i=0;$i<=59;$i++) { // do something sleep(1) } .. but I'd much rather find a daemon capable of kicking off the script every second (and ideally more flexibly like cron does, and with the logging capability etc that cron has). -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER