geekvenue.net

Welcome to Chucktips HELP WITH DEAD OS Hardware Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips
 parent
 thread


Re: Tar problems with jpgs
by Malc Kelly on Thursday April 15, @01:16AM

I think it could be because:

When you run it from the shell (manually) your environment is all setup. So you can use simple commands (ie tar, gzip, ls) as opposed to typing those commands with the full path (ie /bin/tar, /bin/ls).

However when you run it from a cron, you are not logged in so there is no environment setup. Therefore when the machine reads the command tar or ls, it has no idea what your talking about. Try using the full path in your cron script

Related Links
  • Articles on Backup and Restore
  • Also by Malc Kelly
  • Contact author
  • ThinkGeek

    Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]