Hi All i need to create a trigger in UiPath which runs every 2 hours starting at monday 6 am and until 10 pm Saturday . Could anyone help me with this problem
You can use Triggers to schedule the Job. You will find Triggers in Automations tab of each folder.
You can change the time zone as required and use the required CRON expression and run the job.
Hope it helps!!
Here is the CRON expression for it!
0 */2 6-22 * * MON-SAT
Hope this helps
it is wrong. can you please provide correct expression
Try with this Cron expression
0 6-22/2 * * 1-6
Is the following Scheduling plan meant?
Monday: 06,08,10,12,14,16,18,20,22
Tuesday: 00,02,04,06,08,10,12,14,16,18,20,22
Wednesday: 00,02,04,06,08,10,12,14,16,18,20,22
Thursday: like Wednesday
Friday: like Wednesday
Saturday: 00,02,04,06,08,10,12,14,16,18,20, (22 to iclude or not?)
when it started on monday 6 am it should run every 2 hours until saturday 10pm.
Eg:
Monday: 6,8,10,12,14,16,18,20,22,24
Tuesday: 2,4,6,8,10…like wise until Saturday 10 PM
22 included last run should be on 22 pm
it looks like a confirmation to the presented schedule plan. The difference is about the midnight, but in both approaches it is included. Lets assume that final agree to the schedule plan.
Feel free to play for cron schedules: Free Online Cron Expression Generator and Describer - FreeFormatter.com
To respect the nature of cron we would split the schedule plan on 3 triggers.
0 0 6/2 ? * MON *
0 0 0/2 ? * TUE,WED,THU,FRI *
0 0 0,2,4,6,8,10,14,16,18,20,22 ? * SAT *
UPD1 - optimizing last cron to:
0 0 0-22/2 ? * SAT *
so i have to create 3 different triggers for this scenerio …and the scenerio which is explained below is correct
Monday: 06,08,10,12,14,16,18,20,22
Tuesday: 00,02,04,06,08,10,12,14,16,18,20,22
Wednesday: 00,02,04,06,08,10,12,14,16,18,20,22
Thursday: like Wednesday
Friday: like Wednesday
Saturday: 00,02,04,06,08,10,12,14,16,18,20, (22 to iclude or not?)
play with the online tool, ensure the correctness, and then create these different schedules
we cant do it in single crone expression?
as menitoned:
and also encouraged to play with the online tool.
We do feel, that the topic can be closed by
Forum FAQ - How to mark a post as a solution - News / Tutorials - UiPath Community Forum
can you please share the single crone expression if possible please
May we ask you to reread the above given feedback. We mentioned the split due to the nature of cron. So, we had not provided a single cron.
okk thank u sir …sorry i thought we can do it …thank you for the crone expression
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.