Thanks!

From: Hong Wang (hwang@haverford.edu)
Date: Wed May 14 2003 - 10:16:55 EDT


Thanks for all of you who replied. I got the problem solved.

webalizer is running under csh. So in my cron:

2 4 * * * csh /misc/webalizer/bin/run_webalizer

In the run_webalizer script, I used csh instead of sh:

#!/bin/csh

Thanks again!

Hong

At 05:28 PM 5/12/2003 -0400, you wrote:
I have set the cron job for webalizer(a statistic software), but it doesn't
run. When I manually run it, it works fine. The following is the setting in
cron:

04 2 * * * /misc/webalizer/bin/run_webalizer

the run_webalizer script:

#!/bin/sh
#This script is to run webalizer nightly

/misc/webalizer/bin/webalizer -c /etc/webalizer.conf

the permission for run_webalizer:

-rwxr-xr-x 1 root other 168824 Apr 29 10:12 /misc/webalizer/bin/webalizer

permission for webalizer.conf:

-rw-r--r-- 1 root other 23954 May 6 17:36 /etc/webalizer.conf

How can I solve this problem?

Thanks in advance!

Hong
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:24 EDT