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?
no. 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.