software cron windows 10 code example
Example 1: create cron task
sudo crontab -e
Example 2: 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