Hi,

How to know the cron is working or not. i am getting mail from cron but how to know whether the functionality is working or not. i am getting mail like this

Cron Daemon root@ip-xyz.ap-southeast-1.compute.internal to me

show details 4:59 AM (11 hours ago)

--2012-01-10 04:59:01-- http://www.xyz.com/reports/status.php?provider=6
Resolving www.xyz.com... 192.41.150.106
Connecting to www.xyz.com|192.41.150.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `status.php?provider=6.72'

0K .......... .......... .... 7.33K=3.3s

2012-01-10 04:59:10 (7.33 KB/s) - `status.php?provider=6.72' saved [24840]

i am seting cron like this.
MAILTO=chand.basha@suksh.com
43 10 * * * wget http://www.xyz.com/reports/status.php?provider=6


please tell to check.....

Recommended Answers

All 3 Replies

It looks okay. If you want more info write a log-file.

what is the meaning of
2012-01-10 04:59:10 (7.33 KB/s) - `status.php?provider=6.72' saved [24840]

The output was 24840 bytes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.