Ik heb een aantal scripts die standaard gedraaid worden. Nu kom ik zojuist per toeval er achter dat de logfile standaard geleegd wordt.
Mijn crontab-regel:
als ik google op crontab automatically empties log file krijg ik alleen hoe ik automatisch log files weggooi. Dus precies het tegenovergestelde.
Debian Wheezy
Mijn crontab-regel:
code:
1
| * * * * * perl script.pl > script.log 2>&1 |
als ik google op crontab automatically empties log file krijg ik alleen hoe ik automatisch log files weggooi. Dus precies het tegenovergestelde.
Debian Wheezy