Help creating a cron job please
I've inherited control of a server at my new job and there's no cron job set up to run webalizer.I'm OK setting up the cron job; where I have the problem is that they have a different webalizer .conf (luckily all in the same directory) for each site on the server, so I need a script to cycle through the directory and run webalizer on each config file.
If anyone could help me out with a shell script to do so I'd be greatful. It needs to run
Code:
/usr/bin/webalizer -c /usr/local/etc/webalizer/*.conf
Thanks in advance
