crontab entry overwrites logfile

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
web_smith
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: Mon Jan 07, 2008 11:02 am

crontab entry overwrites logfile

Post 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
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7878
Joined: Mon Oct 01, 2007 10:51 pm

Re:crontab entry overwrites logfile

Post 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.
Post Reply