Input Files that Include Scheduling Specifications

The execaction utility allows you to include scheduling fields at the command line or in the input data file. To see what the scheduling fields are run execaction with the -s and --showfields options.

The following example includes the scheduling specifications within the input file. In this example, the action is scheduled to be run once at 12:30 PM on June 15, 2015 and will send an e-mail only if there is a failure.

-b Actor 
-a AssignRoleToActor 
-S
--fields Actor=jsmith Role=EmployeeLite_ST
--sched Name=sched6 NotificationType=2 TimeToExec=2015061512300000 
EmailAddress=sys.admin@acme.corp.com ScheduleType=0

The command line would be the following:

execaction gen -f addRoleSched.txt