CRON misfunctionality I'm totally stumped.
I created a script that I want to run every minute. I know how to set this up in CRON, that isn't my question here today. Quick Summary: If I run the script manually it works fine, but if CRON runs it, it decides to quit early (or something).
Okay, the first part of the script is what's messing up. All it does is run a command and direct the output to a text file, ie, "ls /home > dir.txt". Like I said, the script works perfectly if I manually run it. But when CRON runs it, it opens the proper text file but only puts out the FIRST LINE of the expected output. What the crap?
Anyone have any clues as to why this might be happening?
Any help would be appreciated by myself and my keyboard (it's tired of having my face being slammed on it). |