A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/atifaziz/NCrontab/wiki/Crontab-Expression below:

Crontab Expression · atifaziz/NCrontab Wiki · GitHub

A crontab expression is a very compact way to express a recurring schedule. A single expression is composed of 5 space-delimited fields:

MINUTES HOURS DAYS MONTHS DAYS-OF-WEEK

Each field is expressed as follows:

The table below lists the valid values for each field:

Field Range Comment MINUTES 0-59 - HOURS 0-23 - DAYS 1-31 - MONTHS 1-12 Zero (0) is not valid. Month names also accepted. DAYS-OF-WEEK 0-6 Where zero (0) means Sunday. Names of days also accepted.

Two fields also accept named values in English: MONTHS and DAYS-OF-WEEKS. So you can use names like January, February, March and so on for MONTHS and Monday, Tuesday, Wednesday and so on for DAYS-OF-WEEK. The names are not case-sensitive and you can even use short forms like Jan, Feb, Mar or Mon, Tue, Wed. In fact, at the moment, the parser in NCrontab will use the first match that it finds. Consequently, if you specify just the letter J for the month, then it will be interpreted as January since it occurs before the months June and July. If you specify Ju, then June will be assumed for the same reason. However, you should stick to either the 3 letter abbreviations or the full name since that is the norm among cron implementations. Finally, you can also mix numerical and named values, as in Jan,Feb,3,4,May,Jun,6.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4