This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crontab not sending output to me?


Hello,

I'm running this crontab. When I run /cygdrive/e/wsus/run_all_groups.sh
from a command line it works but when I run it from cron I get no content in the email I recive.


My Crontab:
MAILTO=""
# minute hour day of month month day of week command
0 8 * * 2,4 /cygdrive/e/wsus/run_all_groups.sh
0 22 * * 0,2 /cygdrive/e/wsus/run_all_groups.sh
0 16 * * * /cygdrive/e/wsus/run_all_groups.sh
51 15 * * * /cygdrive/e/wsus/run_all_groups.sh


Output without cron:

Fri 04/13/2007 WSUS Summary Report for group1a_dev

Number of Clients in group1a_dev:20

Number of ASR Atempts for group1a_dev:0

Number of Successfull ASR Backups for group1a_dev:0

Number of Clients reporting to WSUS for group1a_dev:19

Number of Clients Scheduled for Updates for group1a_dev:0

Fri 04/13/2007 WSUS Individual Server Report for group1a_dev

Explanations of report headers shown below

WSUS-rpt: Shows if the server reported to the WSUS server
Up-Need: Shows the updates that WSUS is reporting as needed
UP-Sch: Shows if any updates are scheduled to be installed
Date-Sch: Shows the date the updates are scheduled to be installed
Up-Stat: Shows the status of the update installation
ASR-Run: Shows if the ASR was attempted
ASR-Stat: Shows the status of the ASR job

If something fails the report will show a status of FAILED. To check simply do a search for FAILED.

(1) Client:bvapp1 (2) WSUS-Rpt:Ok (3) Up-Need:1 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:bvproxy1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:bvstapp1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:bvstproxy1 (2) WSUS-Rpt:Ok (3) Up-Need:1 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:ccmsdev1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:DB5 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:db5m (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:db6 (2) WSUS-Rpt:Ok (3) Up-Need:1 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:LABPDCR1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:lctbuilddev1 (2) WSUS-Rpt:Ok (3) Up-Need:1 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:ngorion1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:ngoriondev1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:pdcr1 (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:presweb-dev (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:pvxmgmt (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:rdp (2) WSUS-Rpt:FAILED (3) Up-Need: (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:vcenter (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:vcentro2 (2) WSUS-Rpt:Ok (3) Up-Need:1 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:winops (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a
(1) Client:WINOPS-HQ (2) WSUS-Rpt:Ok (3) Up-Need:0 (4) Up-Sch:No (5) Date-Sch:N/a (6) Up-Stat:N/a (7) ASR-Run:NO (8) ASR-Stat:N/a





-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]