Exago .NET API Documentation
CreateEveryNDaySchedule(String,Int32,DateTime,Nullable<TimeSpan>,SchedulerEmailInfo) Method
WebReports.Api.Scheduler Namespace > ReportScheduler Class > CreateEveryNDaySchedule Method : CreateEveryNDaySchedule(String,Int32,DateTime,Nullable<TimeSpan>,SchedulerEmailInfo) Method
A friendly name that will appear in the Schedule Name column of the  Schedule Manager.
Indicates the interval at which to run the schedule (e.g. every 10 days). If everyWeekday is true this parameter will be ignored
Summary (.NET Xml Comment Files)

The date on which to begin running the schedule.

 If the schedTime argument is null, Exago will use the time component of this argument as the schedule time.
The time to run the schedule. If no value is provided or the value is null, the Scheduler Service's will look to the time portion of the rangeStartDate or schedDateTime argument instead.
SchedulerEmailInfo object with Information on email addresses, subject and body. If null, the report output will be instead be saved to the <report_path> in the Scheduler Service's configuration file.
Schedule a report to be run every N days beginning on a certain date. The schedule will run at a scheduled time until it is deleted from the system.
Syntax
public System.string CreateEveryNDaySchedule( 
   System.string name,
   System.int everyNDays,
   System.DateTime rangeStartDate,
   System.Nullable<TimeSpan> schedTime,
   SchedulerEmailInfo emailInfo
)

Parameters

name
A friendly name that will appear in the Schedule Name column of the  Schedule Manager.
everyNDays
Indicates the interval at which to run the schedule (e.g. every 10 days). If everyWeekday is true this parameter will be ignored
rangeStartDate
Summary (.NET Xml Comment Files)

The date on which to begin running the schedule.

 If the schedTime argument is null, Exago will use the time component of this argument as the schedule time.
schedTime
The time to run the schedule. If no value is provided or the value is null, the Scheduler Service's will look to the time portion of the rangeStartDate or schedDateTime argument instead.
emailInfo
SchedulerEmailInfo object with Information on email addresses, subject and body. If null, the report output will be instead be saved to the <report_path> in the Scheduler Service's configuration file.

Return Value

jobId string that uniquely identifies the newly created job
See Also

Reference

ReportScheduler Class
ReportScheduler Members
Overload List