Jump to content

CRON expression not working?


Ufoto
Go to solution Solved by karlisi,

Recommended Posts

Hello,

I have a report that needs to be run on the last day of every month. Since I cannot use fixed date as months vary in length I went out to try the CRON expressions. Although I don't have a lot of experience with such expressions I read through this article: https://help.eset.com/protect_admin/81/en-US/cron_expression.html and it seems pretty straight forward. According to the article the expression I need to fulfill my requirement is *  *  *  L  *  ?  *.  However when I try to schedule the report using this syntax I get the following error: 

--------

Error

Failed to modify task: Input not valid: CRON syntax is invalid

--------

I tried few other examples which according to my understanding should work, however they don't. Are you able to point me in the right direction? What is wrong with my expression?

Thank you in advance!

Link to comment
Share on other sites

2 hours ago, karlisi said:

You have 2 spaces between symbols, that's not allowed in CRON expressions

Oh my god... I used the help of an online generator and replaced some of the symbols, but never thought about checking the white spaces. Thanks a lot! It is being accepted now. Hopefully it will follow the schedule I wanted too :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...