crontab是linux中定时任务的
执行crontab -e可以编辑定时列表(export DISPLAY=:0 指定显示器或者export DISPLAY=localhost:0)
15 13 * * * export DISPLAY=:0 && gedit
1
2
3
4
5
6
7
8
9
10 |
root@ubuntu:~ # crontab --help crontab: invalid option - -
‘-‘ crontab: usage error: unrecognized option usage: crontab [ - u user] file crontab [ - u user ] [ - i ] { - e | - l | - r } (default operation is
replace, per 1003.2 ) - e (edit user‘s crontab) - l ( list
user‘s crontab) - r (delete user‘s crontab) - i (prompt before deleting user‘s crontab) |
如何用crontab运行一个图形化界面的程序,布布扣,bubuko.com
原文:http://www.cnblogs.com/maseng/p/3658530.html