Folgende Schritte habe ich gemacht:
1. crontab -e
25 15 * * * diotima test /var/log/cups/error_log && (run-parts --report /etc/cron.daily/rm_cups_error_log)
anstelle von diotima habe ich es auch mit root oder gar nichts versucht.
2. Das Skript (ist auch ausführbar):
/etc/cron.daily/rm_cups_error_log:
#!/bin/bash
cd /var/log/cups/ && rm error_log
3. In /etc/cron.allow: diotima
4. Und zuletzt aus /var/log/syslog:
Jun 21 15:25:01 organon CRON[1983]: (diotima) CMD (test /var/log/cups/error_log && (run-parts --report /etc/cron.daily/rm_cups_error_log))
Kannst Du mir sagen, was ich falsch mache?
Gruß
rima