I'm a small business web designer and marketer. I do a little of everything, and I'm always interested in learning new techniques and technologies.

Apr
5
awarded Tumbleweed
Apr
1
accepted Shell script truncated when run from cron or at
Apr
1
comment Shell script truncated when run from cron or at
Well, I've been trying to reproduce this for the past hour and I can't get it to truncate the script like it did before. I'm running the exact same script, the exact same way with different results now. In light of this, I can't really debug it. If I find some more info, I'll update the question, but for now I'm marking this accepted and moving on. Thanks for the help.
Apr
1
comment Shell script truncated when run from cron or at
Just to answer a couple more questions. 1) The script is pretty short (roughly 3260 chars). 2) It doesn't use any "bashisms" that I'm aware of. 3) I'm just referencing the script in the crontab. 4) I had the script setup to redirect output on a line by line basis, I'll change that and see if I can redirect stdout and stderr for the entire script.
Apr
1
comment Shell script truncated when run from cron or at
Sure thing: pastebin.com/x4uDbBFq
Apr
1
comment Shell script truncated when run from cron or at
Thanks for all the info. To answer your question, yes, it is the script (not output) that is being truncated. I'm running firmware 1.08 because I've read about some bugs (not sure where) with some of the later firmwares. I'll try some of your debugging suggestions are report back. Also, nothing is being mailed, so SMTP settings should be irrelevant.
Apr
1
asked Shell script truncated when run from cron or at
Mar
31
accepted How to Find the Bottleneck when Transferring Files over WAN
Mar
31
comment check if a word in string match with a key in array, then replace it
+1, this is definitely good advise. It's echoing found because he has it set up to echo found when the string isn't found. :)
Mar
31
comment check if a word in string match with a key in array, then replace it
You're comparing the array element values not the keys. Also, you're using !== false which is a double negative. So your code that executes when the string is not found is echo "found";
Mar
29
awarded Editor
Mar
29
revised Access control on a primarily windows LAN
Added another question
Mar
29
asked Access control on a primarily windows LAN
Mar
28
revised PHP random number 1-20 output
Fixed undefined function error
Mar
28
answered PHP random number 1-20 output
Mar
26
asked How to Find the Bottleneck when Transferring Files over WAN
Mar
26
answered How to Find the Bottleneck when Transferring Files over WAN
Mar
18
comment Is there a benefit to having NAS with ECC memory and ZFS filesystem when I work on systems with neither?
I've recently been exploring a lot of the same issues you bring up here. I'm interested to know if you have come to any conclusions.
Mar
13
awarded Supporter
Mar
13
comment rsync on Windows not transferring large files
If I'm not mistaken, LinkShellExtension is essentially a GUI for ln.exe, which seems to be a great tool. But for some reason, it's painful slow when copying to my NAS. I blame the samba overhead, but who knows. I've used it on local drives and it was great. Thanks for the help and the options.
1 2 3 4 5