updatedb and PRUNEPATHS

From: bigb (bigb_at_hotmail.com)
Date: 12/19/04


Date: Mon, 20 Dec 2004 09:29:14 +1100

When updatedb is run from CRON, how do I ensure that some directories are
'pruned'? I've added the appropriate PRUNEPATHS data in my root .profile
file. But I'm assuming that that isn't enough.

Thanks,
Brett.



Relevant Pages

  • Re: Script works fine from CLI, but not when Crond
    ... When run as root from CLI, ... When it is run from cron it is not picking up the shell .profile so PATH ... Quick fix use full path details in the mysqldump line. ...
    (freebsd-questions)
  • [Fwd: OpenBase SQL multiple vulnerabilities Part Deux]
    ... # Writing to roots crontab seems to be fairly prompt at handing out root shells ... This ensures that cron is running when the fake root crontab is created. ... the OpenBase family of products have been enabling some of the most innovative business applications ...
    (Bugtraq)
  • RE: cron.daily stopped working
    ... expiration with command "passwd -f root " and then setup a test root ... cron. ... job in /etc/cron.daily just stopped working. ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)
  • Re: Cron job question
    ... > From: root@somedomain.nl (Cron Daemon) ... You've made the classic mistake of confusing the system crontab ... extra column defining which user ID the command should be run as. ... any new cron jobs for any user (including root) and leave the system ...
    (freebsd-questions)
  • Re: Funny if-condition in the root profile
    ... > in the root profile, I create a little script.sh like ... If I put it in the root crontab, the script ... > Why in that case cron can launch reading the .profile without being ... Are you absolutely sure that .profile got executed under cron? ...
    (comp.unix.shell)