[CentOS] cat cron jobs into crontab

Sudev Barar sbarar at gmail.com
Tue Mar 13 04:24:19 UTC 2007


On 13/03/07, Stephen Harris <lists at spuddy.org> wrote:
> > echo '*/3 * * * *  /usr/lib64/nagios/plugins/check_megaraid_passive.sh > /dev/null 2>&1' > /etc/cron.d/check_megaraid_passive.sh
>
> NOTE: MISSING "root" after the time spec.
>   */3 * * * * root /usr/lib64/.....
>
> This is the "new" way of doing it, using a feature of new versions of cron
> to scan a directory to get the cron information.
>

aahhhh...(did you just hear the coin drp in?)

Interesting and worth exploring. Thanks for insight Stephen.

-- 
Regards,
Sudev Barar



More information about the CentOS mailing list