Re: portsnap and updates using cron

From: Kevin Kinsey (kdk_at_daleco.biz)
Date: 08/31/05

  • Next message: Lowell Gilbert: "Re: broken getopt"
    Date: Wed, 31 Aug 2005 08:54:31 -0500
    To: martin hudec <corwin@aeternal.net>
    
    

    martin hudec wrote:

    >Hello,
    >
    >
    > I am using portsnap to update my ports tree like following:
    >
    > 1. Calling portsnap cron from root's cron
    > 2. Updating ports tree using portsnap -I update from root's cron
    >
    > But it does not update anything by portsnap cron. In
    > /usr/local/etc/portsnap.conf I have:
    >
    > WORKDIR=/usr/local/portsnap
    > PORTSDIR=/usr/ports
    >
    > Files in WORKDIR are dated to Aug 25. So I assume calling portsnap
    > cron results in failure (both with -f /usr/local/etc/portsnap.conf or
    > without it).
    >
    > Can anyone advise me on this one please?
    >
    >

    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.

    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.

    Is cron sending you any mail about this job?

    Grasping at straws,

    Kevin Kinsey
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Lowell Gilbert: "Re: broken getopt"