Answers for "setup cron job on windows 10"

1

how to start cron job

#Red Hat / CentOs:

service crond start

#or

/etc/init.d/crond start

#Ubuntu:

sudo service cron start

#or

sudo /etc/init.d/cron start
Posted by: Guest on April-15-2022
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

setup cron job

# to list all crontab content (including scheduled jobs)
crontab -l

# to edit crontab file
crontab -e

# once you have finished adding tasks, save the file and exit
# the cron daemon will read and execute the instructions provided
Posted by: Guest on May-26-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language