cronexp

command
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2020 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

cronexp draws a very nice table of what your cron job will do like so

┌───────────────────minutes           [0s 15m0s 30m0s 45m0s]
│    ┌──────────────hours             [0s]
│    │ ┌────────────days of the month [1 15]
│    │ │    ┌───────months            [January February March April May June July August September October November December]
│    │ │    │ ┌─────days of the week  [Monday Tuesday Wednesday Thursday Friday]
│    │ │    │ │   ┌─args              [/usr/bin/find]
*/15 0 1,15 * 1-5 /usr/bin/find

Important '*' is a wildcard character in most shells. either escape it with \* or run with

set -f
cronexp */15 0 1,15 * 1-5 /usr/bin/find

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL