Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduling using a Calendar through CSP Script

Status
Not open for further replies.

jedownsjr

IS-IT--Management
Jun 2, 2003
121
US
Has anyone been successful creating a calendar (CalendarRunDays) type schedule using CSP (COM SDK) scripting? I think it is schedule Type=8.

I have been able to use the sample code to retrieve calendar type schedules actually scheduled through the CMC (such as run Tue & Thu or similar). This shows the type=8 and there are CalendarRunDays / SI_DAYS_OF_WEEK items when I use the Query Builder to look at the scheduling (one for each calendar, such as 1 for Tue and another for Thu). I can schedule using CSP code as daily, monthly, etc., and I can retrieve calendar-type schedules, but I have not been able yet to actually create a calendar-type schedule using code.

If anyone has any sample code it would be very helpful. I think I am having some syntax errors which is not adding the schedule.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top