Ufoto 14 Posted April 28 Share Posted April 28 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 More sharing options...
Solution karlisi 26 Posted May 2 Solution Share Posted May 2 You have 2 spaces between symbols, that's not allowed in CRON expressions Ufoto 1 Link to comment Share on other sites More sharing options...
Ufoto 14 Posted May 2 Author Share Posted May 2 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 More sharing options...
Recommended Posts