Page 1 of 1

crontab entry overwrites logfile

Posted: Fri Apr 18, 2008 9:21 am
by web_smith
Hi,

when configuring periodically uploading of graph images to an FTP server, the command executed by cron overwrites /var/log/messages instead of appending to it.

Please add another \">\" to the generated crontab line.

Greetings,

Stefan

Re:crontab entry overwrites logfile

Posted: Fri Apr 18, 2008 7:57 pm
by admin
/var/log/messages is just used here to log the last upload message for debugging purpose. messages that should be kept for some time are directed to /data/log/messages, where they can be inspected by the meteohub \"system log\" selection.