[plug] Crontab

Simon Scott simon.scott at flexiplan.com
Thu Sep 27 12:49:11 WST 2001


	It is also useful to touch and delete files at the start and end of
a cron job. That way you can test whether the job is still active or failed
last time it was called.






	From:	Steve Grasso <steveg at calm.wa.gov.au> on 26/09/2001 04:29 PM
	Please respond to plug at plug.linux.org.au@SMTP at Exchange
	To:	plug at plug.linux.org.au@SMTP at Exchange
	cc:	 

	Subject:	Re: [plug] Crontab

	Hi Mike,

	At 02:46 PM 9/26/01 +0800, you wrote:
	>On Wed, 26 Sep 2001, Steve Grasso wrote:
	>
	>> So Monday would be 1 and the syntax for every other Monday would
be:
	>>
	>> 0 23 * * 1/2 script
	>
	>"Oh no it isnt."   (see my earlier post, or rtmp again)

	Yup. You're right. A second rtmp was useful. Short of patching cron,
	Andrew's idea of a file toggle seems the best bet. I've done that
with perl
	scripts in the past to achieve better than cron's usual 1 minute
resolution.

	Steve




**********************************************************************
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



More information about the plug mailing list