[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cron for SMA
- Subject: Re: [cobalt-users] Cron for SMA
- From: craig <craig@xxxxxxxxxxxxx>
- Date: Mon Nov 4 23:07:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
> /etc/cron.half-hourly/sma.sh: sma: command not found
>
> This is the cron I am using:
>
> #!/bin/sh
> cd /usr/local/src/sma-1.3.1/
> sma /var/log/maillog > /home/users/admin/public_html/sma.html (NOTE: I have
> changed web for public_html)
>
You would need the full path to that sma comamnd
eg
/usr/local/bin/sma or where ever it is
as cron does not have all the path info that your shell has this
is why it works form shell and not cron