Re: start maintenance script after backups

2006-08-28 Thread Efim
Kurt, When you use Storage Agent they open min 2 session, one for data (SERVER) and one for control (NODE). I can't test this now. Efim * Kurt Beyers <[EMAIL PROTECTED]> [Mon, 28 Aug 2006 15:00:48 +0200]: Efim, Thanks for the suggestion, I will give it a go but can't test it right now. A

Re: start maintenance script after backups

2006-08-28 Thread Kurt Beyers
Efim, Thanks for the suggestion, I will give it a go but can't test it right now. A session openend by a storage agent will be of the 'SERVER' type and thus not be detected by the sql query? Best regards, Kurt -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On

Re: start maintenance script after backups

2006-08-28 Thread Аккерман Ефим
Hello, try this: select * from sessions where upper(session_type)='NODE' if (rc_ok) goto reschedule ... ... ... ... exit reschedule: delete schedule BACKUP_SCRIPT_RETRY type=admin define schedule BACKUP_SCRIPT_RETRY type=admin cmd="run BACKUP_SCRIPT" active=yes starttime=NOW+0:20 peru=onetime