Schedule with CRON for weekdays

by mcarey101 » Mon Jun 29, 2015 7:14 pm

I cannot get the CRON parameters correct to run a workflow at 9pm on weekdays only. Your input screen shows 6 parameters yet CRON only takes 5. I have tried endless combinations but they all fail validation. I even tried copy/pasting your samples in with the same failed validation.

Screen Shot 2015-06-29 at 2.59.36 PM.png
Screen Shot 2015-06-29 at 2.59.36 PM.png (93.76 KiB) Viewed 1194 times


Screen Shot 2015-06-29 at 3.09.20 PM.png
Screen Shot 2015-06-29 at 3.09.20 PM.png (95.13 KiB) Viewed 1194 times
mcarey101
 
Posts: 4
Joined: Mon Jun 29, 2015 7:05 pm

by Roman Rylov » Tue Jun 30, 2015 11:11 am

Hello

You can use weekly tab to schedule the workflow, please see example below:
SchedulerWeekly.png
SharePoint Workflow Scheduler Weekly
SchedulerWeekly.png (10.93 KiB) Viewed 1188 times
User avatar
Roman Rylov
 
Posts: 330
Joined: Tue Nov 11, 2014 6:25 pm

by mcarey101 » Tue Jun 30, 2015 1:58 pm

oops- yes i did not see that option... thank you.. curious how to use the CRON option though.. how would i accomplish the same thing using your CRON schedule ?
mcarey101
 
Posts: 4
Joined: Mon Jun 29, 2015 7:05 pm

by Roman Rylov » Tue Jun 30, 2015 3:25 pm

After save the task you can open it again and navigate to advanced tab. You should see CRON syntax
0 0 9 ? * 2,3,4,5,6
Also you can manually write something like
0 0 9 ? * 2-6
User avatar
Roman Rylov
 
Posts: 330
Joined: Tue Nov 11, 2014 6:25 pm


Return to Workflow Scheduler for Office 365