geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS 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, @02: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

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • 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 ]