I have a pretty simple shell script to delete old logs from a directory, there are about 64 thousand files in the directory. If I execute it by hand from the CLI it works, but invoked thru a crontab ...
Why the output of "ls -lasht" isn't ordered by date like it should? I do this on the same directory that contain the files, with cd before executing the command, and usually there are a couple ...