cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Timers and schedulers

Sruthi
15-Moonstone

Timers and schedulers

Hi,

 I have to run a task for every one minute from 8:00 a.m to 4:00 p.m Monday to saturday. How to do this? 

ACCEPTED SOLUTION

Accepted Solutions
Sruthi
15-Moonstone
(To:raluca_edu)

yeah, what about this?    0 0/1 8-16 ? * MON-SAT

will this work from monday to saturday?

 

View solution in original post

4 REPLIES 4
raluca_edu
17-Peridot
(To:Sruthi)

Hi,

 

Managed to do a scheduler to run from 8 to 16 every day every minute with this expression: 0 0/1 8-16 * * ? *

 

I couldn't make it work on specific days of the week, but you can start with the above expression.

 

Hope it helps,

Raluca Edu

Sruthi
15-Moonstone
(To:raluca_edu)

yeah, what about this?    0 0/1 8-16 ? * MON-SAT

will this work from monday to saturday?

 

raluca_edu
17-Peridot
(To:Sruthi)

Hi,

 

At the first sight, yes, it is working.

I recommend to test it and follow it for 1 week to see exactly when it is running.

Probably, you need to change 16 with 15 (for the hours).

 

Best regards,

Raluca Edu

slangley
23-Emerald II
(To:Sruthi)

Hi @Sruthi.

 

If one of the previous responses allowed you to find a solution, please mark the appropriate one as the Accepted Solution for the benefit of others on the community.  if you have found a different solution, please post it and mark that as the Accepted solution.

 

Regards.

 

--Sharon

Announcements


Top Tags