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
|
| Add Reply |
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|