I will preface this by saying I am very new to command line programming with Debian Ubuntu...
I have been trying to set up a crontab list on a Debian Ubuntu server but have not been able to get it to work. Here is a sample:
MAILTO=myemail@gmail.com
* * * * * wall test
* * * * * /usr/bin/python2.6 /home/user/test.py > /home/user/clean_tmp_dir.log
以上显示的是,“crontab-l”这一类型,但没有产生结果。 “测试.py”本应产生一只 file子,但并未创建。
我没有收到任何产出/电子邮件。 我试图找到一个标识,但“var/log/ron”并不存在,也不存在“etc/syslog.conf”。 我试图ed“etc/rsyslog.conf”,但去“E212: Can t open file for written”. 然而,我gged。 我是否需要某种特殊的行政特权? 我是否需要具体说明用户或“机器”或什么?
Does anyone know what I m doing wrong, how I can create/view a log, or how I can perform any other straightforward tests? Thanks!