portsnap and updates using cron
corwin at aeternal.net
Wed Aug 31 14:08:42 GMT 2005
On Wed, Aug 31, 2005 at 08:54:31AM -0500 or thereabouts, Kevin Kinsey wrote:
> Not sure. Check the logs, etc. If you're familiar with ktrace,
> kdump, etc., you could follow the program's progress if you
> find no log information.
/var/log/cron reports me that cronjob was done. No I am not familiar
with ktrace, kdump etc.
> How are you calling the program from cron(8)? I'm sure that
> you are aware of cron's limited environment; one result of this
> is that you generally need to supply full pathnames to any command
> you want cron(8) to run for you.
I am aware of cron's limited environment, but full paths are provided.
> Is cron sending you any mail about this job?
None at all, although every cron is sending me reports.
First, I tell my custom script (with environment set by PATH=) to call
portsnap fetch && portsnap update, but he is unable to fetch anything
at all, therefore I started to use portsnap cron and I hoped to be
able to fetch it.
* 421 907 303 393
* corwin at aeternal.net
"Nothing travels faster than the speed of light with the possible
exception of bad news, which obeys its own special laws."
Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050831/a3c745e1/attachment.bin
More information about the freebsd-questions