Answers for "create a cron to run each second"

3

create cron job from command line

#write out current crontab
crontab -l > mycron
#echo new cron into cron file
echo "00 09 * * 1-5 echo hello" >> mycron
#install new cron file
crontab mycron
rm mycron
Posted by: Guest on January-28-2021
0

how to run a script in crontab every day

30 2 * * * /your/command
# ^  ^
# |   hour
# minute
Posted by: Guest on December-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language