I will precede this by saying that I am very new to command line programming with Debian Ubuntu ...
I am trying to set up a crontab list on a Debian Ubuntu server, but could not get it to work. Here is an example:
MAILTO=myemail@gmail.com
* * * * * wall test
* * * * * /usr/bin/python2.6 /home/user/test.py > /home/user/clean_tmp_dir.log
Above, when I type “crontab -l”, but the final result does not appear in the console. It is assumed that "test.py" creates the csv file, but not one of them is created.
I do not receive any exit / error messages. I tried to find the log, but "var / log / cron" does not exist, as well as "etc / syslog.conf" ... I tried to edit "etc / rsyslog.conf", but got "E212: Can", t open the file for the record "... However, I logged in. Do I need any special administrative privileges? Do I need to specify a user or" root "or something else?
Does anyone know what I'm doing wrong, how can I create / view a log, or how can I perform any other simple tests? Thank!
source
share