SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Set Exit Code w/ VBScript Job

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Set Exit Code w/ VBScript Job
Author Message
Tim Benning



Joined: 10 Jan 2005
Posts: 10

Post Set Exit Code w/ VBScript Job Reply with quote


We are attempting our first VBScript job. I want to set an exit code so that
the job will fail and send the appropriate alert if an input file is not found.

How do I do this in VBScript?

Thanks,
Tim

Tue Feb 21, 2006 3:43 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7955

Post Re: Set Exit Code w/ VBScript Job Reply with quote

Err.Raise 155, 'My error message'

For more info please see 'Raise' topic in the VBScript documentation provided with 24x7.

: We are attempting our first VBScript job. I want to set an exit code so that
: the job will fail and send the appropriate alert if an input file is not
: found.

: How do I do this in VBScript?

: Thanks,
: Tim

Tue Feb 21, 2006 4:17 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.