110 reputation
6
bio website
location
age
visits member for 3 years, 4 months
seen Jul 7 at 22:13

Jul
17
awarded  Popular Question
Jun
14
awarded  Popular Question
May
25
awarded  Popular Question
May
7
awarded  Student
Feb
17
accepted bash shell command runs fine at command prompt, but not in my .sh script?
Feb
17
comment bash shell command runs fine at command prompt, but not in my .sh script?
you were right...i found another thread over here: askubuntu.com/questions/23009/reasons-why-crontab-does-not-work and tried their suggestion of the $PATH...I put that in the top of my crontab file and everything works now. Thanks for helping out.
Feb
17
comment bash shell command runs fine at command prompt, but not in my .sh script?
Ok, here's what I learned. If I run the shell script at the command prmpt using: bash -x /data/backups/scripts/server_log_check.sh then the tomcat7 start command runs just fine inside the script. But if I let the cronjob run this script for me that tomcat7 start command does not get executed...the debugging output didn't really help to figure out why it doesn't work in cron...any ideas?
Feb
17
comment bash shell command runs fine at command prompt, but not in my .sh script?
that's what I thought as well. I've tried with and without the variable...it doesn't seem to matter if I run the command directly, or with backticks, etc...I get the same result. but when at command prompt it runs fine...i'm confused.
Feb
17
comment bash shell command runs fine at command prompt, but not in my .sh script?
its being run by a cronjob. I'll try your suggestion of debugging and see if I can find anything.
Feb
17
asked bash shell command runs fine at command prompt, but not in my .sh script?
Jun
4
awarded  Scholar
Jun
4
awarded  Supporter
Jun
4
accepted freebsd 8 mail log status, what do these mean?
Jun
4
comment freebsd 8 mail log status, what do these mean?
Thank you for your explanation. This has really helped me understand it better!
Jun
4
asked freebsd 8 mail log status, what do these mean?
Feb
15
asked Keeping the original subdomain url in the address bar with wildcard subdomains
Dec
31
asked need some help figuring out clamav & monit monitoring error…unixsocket