Advanced Schedule
-
Hello,
I want to configure a custom file.count schedule (to check a specific folder daily between 7:00 AM to 1:00 AM every 5 minutes) and i want this folder to be empty (0 files) between the specific period and if i have file to trigger an alarm (only between this period).
So i tried several combinations and it doesn`t work.
Here is my examples that i tried1st.
*/5 7-1 * * * *
it doesn`t work2nd. (combination of 2 schedules)
* 7-1 * * * *
*/5 * * * * *it works every 5 minutes but i get an alert all the time
3rd. (combination of 3 schedules)
* 7-0 * * * *
* 0-1 * * * *
*/5 * * * * *it works every 5 minutes but i get an alert all the time
Can you please someone advice/help me with the correct schedule that i have to specify?
Thanks in advance
Regards,
Andreas -
Hi!
Just checked the source code - NetXMS does not support ranges n-m where n > m. So you should be able to achieve desired result with the following combined schedule:
*/5 0 * * * *
*/5 7-23 * * * *This will collect DCI every day from 00:00 to 00:59 and from 7:00 to 23:59. If you want to include 1:00 as well, you should add
0 1 * * * *
to match exactly this time.
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login