You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.
The command /usr/local/bin/wp-cron.sh /var/www/vk.com/server/wordpress will execute the 1st and 15th and 31st and 46th minutes of every hour Sundays through Sundays in every month.
with no error.
The text was updated successfully, but these errors were encountered:
While there's error checking, I definitely seem to have a bug in my range handling for days of week.
The statement www-data is in the day-of-week space and is being interpreted as "www through data", and then when I look up the day name, for both www and data, I convert them to an integer to look them up in an array, so the end up being 0 (for Sunday).
I'll need to make that stricter, at which point, the app will tell you that this is invalid. I'll tackle this as the next item for this project.
And maybe you could care about user/system cron. System cron must have a username.
That's something to keep in mind as I improve this app, but I'll note that this is the first time anyone has asked for it. From the usage I'm seeing in the queries that get submitted, it appears that nearly everyone is using user crons (e.g., crontab -e).
I was looking for a cron sytax checker when found your project.
An API would be nice.
Because on one of the servers a * was missing. And that job never started.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1,15,31,46 * * * www-data /usr/local/bin/wp-cron.sh /var/www/vk.com/server/wordpress
returns:
with no error.
The text was updated successfully, but these errors were encountered: