linux 定时任务
定时任务
[root@eegooserver2 ~]# chmod +x /opt/mysqlbackup/mysqlautobackup
[root@eegooserver2 ~]# crontab -e
no crontab for root - using an empty one
0 2 * * * /opt/mysqlbackup/mysqlautobackup
~
~
~
"/tmp/crontab.UGIdsz" 1L, 43C written
crontab: installing new crontab
[root@eegooserver2 ~]# service crond reload
Reloading crond: [ OK ]
[root@eegooserver2 ~]# service crond restart
Stopping crond: [ OK ]
Starting crond: [ OK ]
[root@eegooserver2 ~]#
相关推荐
liguojia 2020-10-20
木子李CSDN 2020-06-05
kernelstudy 2020-05-21
playlinuxxx 2020-05-08
IsanaYashiro 2020-04-22
fenxinzi 2020-04-07
山兔与孟婆 2020-03-28
stoneechogx 2020-02-17
onlykg 2020-02-15
大老张学编程 2020-02-09
linuxisperfect 2020-01-09
liuyh 2019-12-22
蜀川居 2013-08-05
happywxp 2013-03-27
chenzelin 2013-03-31
NeverAgain 2019-12-13
mieleizhi0 2019-12-05
ningningmingming 2019-11-13
playlinuxxx 2013-09-02