You should be able to grep for something like "mainempty" and see it start just because the process will have a '-mainempty' if its for a policy run. If verbosity is set at '5' or above then subroutine tags are printed. For a bpsched to turn into a mainempty run, it passes through one that's called something like mainempty_bpsched or main_bpsched.
That is assuming your bpsched interval is high enough that the old one stops before a new mainempty is run. Bpsched was modified some time ago to handle overlaps and new bpsched jobs would add to the worklist and then exit with a note in the log ("grep bpsched_main {log} | grep 'already'"). The script would have to check for both possibilities. Kevin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Clooney, David Sent: Friday, March 09, 2007 3:45 AM To: veritas-bu@mailman.eng.auburn.edu Subject: [Veritas-bu] bpshed activity entry Hi all Its been a while , hope you are all well. Quick Q which someone might be able to answer straight off the bat. We had a situation where the wake up interval was set to 0, probably due to some planned work however this was not changed back out of error and therefore all scheduled backups failed understandably. Want to put a quick script together to check the bpsched log to confirm bpsched is in actual fact waking up scheduling jobs. Need I say 5.1, as the bpsched log is huge can anyone point out the text I'm looking for to save me trawling ? Much appreciated Dave Clooney Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority. _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu _______________________________________________ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu