* * * * * command│ │ │ │ ││ │ │ │ └── Day of week (0–6, 0=Sunday)│ │ │ └───── Month (1–12)│ │ └──────── Day of month (1–31)│ └─────────── Hour (0–23)└────────────── Minute (0–59)# in this case having all the timings being * means the command/file specified will run once every minute non stop forever
can use special entries instead of timings as well such as:
@reboot : Run once at startup
@daily : Run once a day at midnight
@weekly : Run once a week
@monthly : Run once a month
@yearly : Run once a year
can send output to /dev/null or a log for no output or logging like this: