[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unix tool as precise counter/timer for periodic print/exec



On 5/2/12 5:33 PM, Paul E Condon wrote:
> I think you should be careful to not set the schedule to execute you
> job too frequently. This system will launch a new job on schedule,
> whether or not the previously launched job has completed. For some
> jobs this can cause problems. If you want to do something that takes 1
> or 2 sec., every 5 sec., crontab works without using locks on files,
> or other safety mechanisms. Or look at the package liblockfile1.

It could be wrapped in a script and the script could manage locking, say
through flock.

Regards
/Lars


Reply to: