Here is the script for every 30 min
00,30 * * * * [path_to_file]/myscript.sh
Whats is the script to run the same with each reboot
@reboot 00,30 * * * * [path_to_file]/myscript.sh
Is the above line right?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityno. These are two separate rules.
man 5 crontab
Instead of the first five fields, one of eight special strings may
appear:
string meaning
------ -------
@reboot Run once, at startup.