How to interpret this crontab command?
Posted
by
Bakhtiyor
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Bakhtiyor
Published on 2011-02-12T00:09:51Z
Indexed on
2011/02/12
7:33 UTC
Read the original article
Hit count: 281
crontab
I know that if I wrote in crontab -e
following command 01 04 * * * somecommand
then it will run somecommand
at 4:01am on every day of every month.
What happens if I wrote * * * * * somecommand
? Will it run somecommand
every single minute? Will this syntax work also?
And it is possible to use special strings like @reboot
, @daily
, etc as it is explained here. At what time of the day somecommand
will be executed if I write @daily somecommand
command?
© Ask Ubuntu or respective owner