technoweenie / cronwtf Goto Github PK
View Code? Open in Web Editor NEWsilly cron => english translator
Home Page: https://cronwtf.dev
License: MIT License
silly cron => english translator
Home Page: https://cronwtf.dev
License: MIT License
Hi,
2 30 7,14,21,28 * * something
30 hours is not possible :)
Currently, this (0 0 0 1 0 COMMAND) is parsed as "Runs COMMAND
at minute :00, on hour 0, on day 0, in Feb, on Sun.", when it should actually be parsed as "Runs COMMAND
at minute :00, on hour 0, on day 0, in Jan, on Sun." (NOTE the change from Feb to Jan).
This is documented in the wikipedia entry (http://en.wikipedia.org/wiki/Cron) and I've just confirmed by testing (I have a one off task that I need to run tonight) on a linux install.
as per cron manual this
"30 4 1,15 * 5
should be would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.
your code says
"Runs COMMAND
at minute :30, on hour 4, on days 1, 15, every month, on Fri."
Cheers,
Cristi
Website link on https://github.com/technoweenie/cronwtf
05 03 25 06 06 results in error
05 03 25 6 6 results in Jul instead of Jun
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.