Strange weekly script

Posted:
in Genius Bar edited January 2014


Rebuilding locate database:

_tcsh: Trying to start from "/var/root"

_tcsh: Trying to start from "/"





This is a part of the weekly output i get by mail, what's the problem here?



Anyone got a solution?

Comments

  • Reply 1 of 6
    fobiefobie Posts: 216member
    Anyone? <img src="confused.gif" border="0">
  • Reply 2 of 6
    It's perfectly normal on Mac OS X for certain scripts to be run regularly without your knowledge. Most UNIXs do this; they are called cron jobs. This particular script is located at "/etc/weekly" and as you pointed out will run once a week.



    However, I don't understand why you are getting messages about it in your Mail.app. Normally the output simply goes into the console or a log file...
  • Reply 3 of 6
    stimulistimuli Posts: 564member
    Locate (or slocate) indexes stuff so when you search for things using locate it finds them faster. You can disable it if you want, as you don't use the command line to find stuff.
  • Reply 4 of 6
    fobiefobie Posts: 216member
    I know UNIX runs script, I get this stuff mailed to be because i configured MacOS X to do so.



    And i know what locate is, and I do use it.



    But the point is that the output i posted abowe isn't right. And I can't really figure out what's wrong.



    The correct output should be:



    Rebuilding locate database:



    And thats it..
  • Reply 5 of 6
    stimulistimuli Posts: 564member
    No idea, then...



    If you use locate, and it works, don't sweat it.
  • Reply 6 of 6
    fobiefobie Posts: 216member
    [quote]Originally posted by stimuli:

    <strong>No idea, then...



    If you use locate, and it works, don't sweat it.</strong><hr></blockquote>



    Yeah, I know.



    But I'm one of those people who isn't happy unless everything is perfect.
Sign In or Register to comment.