/build/static/layout/Breadcrumb_cap_w.png

Sheduled alerts using CRON go off daily instead of on schedule

I have an alert scheduled as a CRON schedule to run at 10:00 AM on Monday on the 1st and 3rd Monday of the month:

0 10 1-7,15-21 * 1

0 - 00 minutes
10 - AM PM
1-7,15-21 - on the 1st - 7th and the 15th - 21st
* - Any month
1 - On a Monday

We are having an issue with the Alert we have scheduled is going off every day during the 1st and 3rd week instead of just the day specified as the last parameter.  I verified the schedule using https://crontab-generator.org/ to get the schedule.  I also checked the View Task Schedule and it clearly shows the right time days and time for the alert to run.

Anyone else having this issue with cron jobs?

K1000 version 10.0



1 Comment   [ + ] Show comment
  • I believe the logic for:

    1st,2nd,3rd,4th etc etc, Monday (or any day), is not implemented in the KACE SMA - Channeler 5 years ago

Answers (1)

Answer Summary:
Posted by: Channeler 5 years ago
Red Belt
1

Comments:
  • Thanks Channeler. Kace just sent me a message that there is an issue in the FreeBSD operating system not supporting things like first Monday of the month for a CRON job.

    That stinks because I am going to have to create multiple schedules. Thanks for the article. - JordanNolan 5 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ