Linux shell 新增 Cron 任务
2018-01-30 tech linux 1 mins 261 字
嗯.
# 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
嗯.
# 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