Jump to content

CRON expression not working?


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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