CRON (another question)
Hi, Does anybody knows if there is a way to append (just put at last place without entering any editor) a schedule to crontab thanks.. ruoso
RE: CRON (another question)
On 22-Jul-99 Daniel Ruoso wrote: Hi, Does anybody knows if there is a way to append (just put at last place without entering any editor) a schedule to crontab thanks.. echo 52 61 * * roottest -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly /etc/crontab will add that line to the end of crontab you can also dump a file in cron.d. Or in cron.daily etc. Depends on what you want.
Re: CRON (another question)
Does anybody knows if there is a way to append (just put at last place without entering any editor) a schedule to crontab ON DEBIAN ONLY: bash$ CRONTAB_NOHEADER=Y (crontab -l ; echo new crontab line here) | crontab - should do the trick.The CRONTAB_NOHEADER is a debian change from the normal conrtab command. Carl