0

I'm wanting to create an escalation to be scheduled every 12 hours at 10 AM. However, the form for selecting the schedule time is as follows:

Every _ hour(s) on minute _

It doesn't specify what the starting hour is so how can I do that?

Thanks

AuthenticReplica
  • 870
  • 15
  • 39

2 Answers2

1

Option 1: Create a SQL where clause that schedules to run itself at certain times only. The escalation would have to run more frequently to hit at 10AM and 10PM. So, if your interval of 10AM can have a little slack with as 9:55AM or 10:15AM the SQL method should work.

Option 2: Create two entries for daily. One for 10AM and another for 10PM.

Sun
  • 2,595
  • 1
  • 26
  • 43
  • I was trying to avoid having to do that :P but I waited until the time I wanted then enabled the 12 hour cycle. Thanks though. – AuthenticReplica Jun 27 '14 at 09:43
  • 1
    That is a clever solution, but I should warn you that if MXServer is ever restarted, the 12 hour cycle may not match your 10AM/10PM cycle. Creating two daily entries for 10AM and another for 10PM ensures the crontasks run at the specific time of day you want. – Sun Jan 13 '15 at 23:22
  • added SQL method to run as one escalation but run two times a day. – Sun Jul 01 '15 at 22:08
1

If I correctly understand your requirement - you want to run the job daily 2 times at 10:00 AM and 10:00 PM. What I will do in this situation is - Schedule the job for every "720 minutes" and reload the cron at time 10:00 AM , if you preview you will see the result desired by you.

  • 1
    What happens when your MXServer is restarted? Will the cron jobs re-run at 10AM or 10PM? – Sun Jul 17 '14 at 16:12
  • Reload the cron again at 10:00 AM. If you want to achieve your requirement with single cron instance ;) – Sourabh Jain Jul 17 '14 at 17:14
  • Or I was just thinking, can't you have 2 instances of the same cron task as: 1) Every 1 day(s), at time 10:00 and 2) Every 1 day(s), at time 22:00 – Sourabh Jain Apr 05 '17 at 01:20
  • Or I was just thinking, can't you have 2 instances of the same cron task as: – Sourabh Jain Apr 05 '17 at 01:21
  • A cron task can only have one schedule. You can set up hourly but not indicate specific hour to start. Or set daily with a specific time. Try it yourself in Maximo. – Sun Apr 05 '17 at 02:15