08-18-2016
Leave out wget's -q, which stands for "quiet". Also remove the 2>&1 to see which errors/messages are being written to STDERR.
If you want to see all things that are written to STDOUT too, leave out >/dev/null 2>&1 too. This might help to see at which position the errors occure.
This User Gave Thanks to zaxxon For This Post:
8 More Discussions You Might Find Interesting
1. HP-UX
Dear Guru,
I have submitted some cronjobs that has been running for quite sometimes. However, today I counter some cronjob did not run. Can you please explain what causes this to happen. Any system setting that limit number of cronjob per minutes to be started, etc?
Thanks.
Kelly (1 Reply)
Discussion started by: hcng08
1 Replies
2. Solaris
HI,
What is the differnece between at / con job? thanks in advance. (1 Reply)
Discussion started by: mokkan
1 Replies
3. UNIX for Dummies Questions & Answers
hi everyone I'm newbie in this forum hope I can get some help here :)
I have a command in crontab that executed every 1 minute
sometime this command need more than 1 minute to finish
the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies
4. UNIX for Dummies Questions & Answers
Hi I am very new to linux. I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | | mail -s "This is just a test"
I would... (2 Replies)
Discussion started by: LinuxNewb
2 Replies
5. UNIX for Dummies Questions & Answers
Long story short, I have everything working in my SOHO which would include Postfix,Dovecot(imap),Roundcube,bind and is ready to recieve email from the outside using this tutorial:
https://workaround.org/ispmail/wheezy
I also setup my internal DNS server using:
https://wiki.debian.org/Bind9... (2 Replies)
Discussion started by: metallica1973
2 Replies
6. Shell Programming and Scripting
i have looked for a week and tried a few things, but nothing seems to work so joined here.
I have a go daddy account and also a vps in germany. In my vps, i run a code script (we will call it codegen) when i run ./codegen i get my question of how many codes do i want to make. With my answer... (9 Replies)
Discussion started by: uksatman
9 Replies
7. Shell Programming and Scripting
Hi Guys,
Just entering the Linux word, So I need help to write a script on my local machine(Ubuntu 14.04) that continuously check the particular folder(contains images) and a json file on the server and download whenever new images are added to that folder and whenever there is a change in the... (10 Replies)
Discussion started by: g4v1n
10 Replies
8. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies