4 Nov
2006
4 Nov
'06
11:57
Darryl Gregorash wrote:
On 2006-11-02 22:16, Fajar Priyanto wrote:
Hello friends, Is it possible to run cron like this? */5 8-16 * * 1-6 env LANG=C /usr/bin/mrtg /etc/mrtg.cfg >> /var/log/mrtg/mrtg.log I am sure you cannot set an environment variable this way.
man env This is a command and not special syntax for crontab. As such, it should be executed. Best, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany