question

chris-3 avatar image
chris-3 asked

Cron entry not taking , why?

I want a task to run midnight on the 3rd of each month, I was trying to use:

0 0 0 3 * ? *


The form says:

Invalid cron expressionInvalid task schedule. Must be a valid standard cron expression, and all occurrences must be on a 5-minute mark.

The entry is valid as far as I can tell.

The intent is then to run another task using

5 0 0 3 * ? *

Basically 5 minutes after the first one.

And finally:

0 0 1 3 * ? *

1am every 3rd of the month to renable everything.

For why:

  1. Task one, sets an title data variable to stop updates to Leaderboards
  2. Task two, resets every player's stat in the leaderboard based on their progress so far (rounding and dropping one level, not back to zero as a new leaderboard version would do).
  3. Task three, sets the title data variable to say everything is complete.

What is wrong with the cron expression I'm using?

scheduled tasks
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
chris-3 avatar image
chris-3 answered

Okay, so a simple:

0 0 3 * *

Works

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

chris-3 avatar image chris-3 commented ·

Just delete. using cron guru rather than the verifier I was using.

0 Likes 0 ·
Andy avatar image Andy ♦♦ chris-3 commented ·

Did you want me to delete the original question?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.