Re: Running afacli in a cron?
Colbey <[email protected]> Sat, 30 Aug 2003 13:29:23 -0400 (EDT)
| Newsgroups | gmane.linux.drivers.aacraid.devel |
|---|---|
| Message-ID | <[email protected]> |
It should be very simple... Few things perhaps maybe overlooked.. If you manually edited the crontab files you'll need to restart the cron process. I suggest using crontab -e to edit files, it handles the restart/reload of cron automatically.. This is my crontab entry: 0 0 * * * /usr/local/raid/status.sh 1>/dev/null ensure chmod a+x the file.. I didn't have to modify any path settings at all.. good luck.. On Sat, 30 Aug 2003, Kurt Milligan wrote: > Hi > > I have a bunch of PowerEdge 1650 servers all configured with RAID 5, > using RH7.3, and have afacli installed. > > I've been trying to use Kent Ziebell's monitoring script > (http://www.domsch.com/linux/aacraid/aacraid_monitoring_script.txt) > but can't for the life of me get it to run from a cronjob. > Runs fine when run manually from the command line, though. > > I've tried adding in all of my environment variables and trying various > different redirects, and adding whitespace in the raid.commands file as > suggested in the notes. Have you heard of anyone else that has > successfully gotten this to work from cron? > > TIA > > Kurt Milligan > > > _______________________________________________ > Linux-aacraid-devel mailing list > [email protected] > http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel > Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/ > _______________________________________________ Linux-aacraid-devel mailing list [email protected] http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/