[问题] etc/crontab和crontab -e

楼主: gmotwm2001 (小马怪)   2017-09-22 19:04:13
各位大大好:
我想要利用排程每天自动备份资料夹
原本是查到etc/crontab 将程式写进去可是我怎么试都没办法
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# For details see man 4 crontabs
# Example of job definition:
# .
作者: lantw44 (#######################)   2017-09-22 19:46:00
/tmp 底下的是 crontab 程式复制出来的暂存盘实际上档案可能在 /var/spool/cron 之类的地方
作者: kenduest (小州)   2017-09-22 19:59:00
你的 /etc/crontab 缺少使用者帐号指定
作者: phoenixcx (曼秀雷敦)   2017-09-22 23:02:00
crontab -e是依使用者帐号开启排程https://goo.gl/BFr81X 不嫌弃了话来我的blog看
作者: ddtsatan   2017-11-11 10:03:00
推 楼上

Links booklink

Contact Us: admin [ a t ] ucptt.com