KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


How to get a robot to run every minute during the working hours

Share
avatar
Shyam Kumar
Ranks

Posts : 73
Points : 1622
Join date : 2013-07-05
Location : Kerala, India

How to get a robot to run every minute during the working hours

Post by Shyam Kumar on Wed Apr 06, 2016 7:12 pm

Some of the robots we need to run only on working days or based on any other requirements. Here give some solutions to schedule robots during the working hours.

We can configure Kapow schedules with the "cron" syntax to run robots periodically at fixed times, dates, or intervals.

Simply edit the schedule and select the Cron radio button, then enter the pattern based on your need.

A frequent need is the ability to run a robot every minute or hour during business hours:

- Fire every minute starting at 2pm and ending at 6pm exclusive, from Monday to Friday: 0 * 8,9,10,11,12,13,14,15,16,17 ? * MON-FRI

- Fire every minute starting at 2pm and ending at 6pm exclusive, every day: 0 * 8,9,10,11,12,13,14,15,16,17 * * ?

- Fire every hour starting at 2pm and ending at 6pm exclusive, from Monday to Friday: 0 0 8,9,10,11,12,13,14,15,16,17 ? * MON-FRI

- Fire twice a day, at 10:30am and at 4:30pm, from Monday to Friday: 0 30 10,16 ? * MON-FRI

Here is an extra situation:

Fire the first Wednesday of each month at 9:30am: 0 30 09 ? * WED#1

For More details Click Here..

Thank you

Regards,
Shyam kumar

    Current date/time is Thu Jul 27, 2017 1:33 am