crontab -e

sjaakfaal

Verified User
Joined
Feb 14, 2010
Messages
41
Hi,

Where is DA hiding the crontabs? If i do "crontab -e" i have to edit a new file.

Thanks.
 
Hero! Nice outfit though ... :-)

Here are the contents of the file:

Code:
* * * * * root /usr/local/directadmin/dataskq
2 0-23/6 * * * root echo 'action=vacation&value=all' >> /usr/local/directadmin/data/task.queue;
#5 5 * * 0 root /sbin/quotaoff -a; /sbin/quotacheck -augm; /sbin/quotaon -a;
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
20 4 1 * * root echo 'action=reset&value=all' >> /usr/local/directadmin/data/task.queue
0 4 * * * root echo 'action=check&value=license' >> /usr/local/directadmin/data/task.queue
10 0 * * * root echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

I've updated AWSTATS; it seems like the last entry is here twice. Can i safely remove one of them (or comment one of them)?
 
Great!

So, lets look a little more specific to a AWStats issue (stopped working after update).

echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue

So the value "action=tally&value=all" is dumped into "task.queue"

Then "dataskq" reads the value, and probably knows it has to process somekind of .sh file of AWStats to process the logfiles.

The problem: it doenst process the logfiles (awstats statistics are not updated!)

Now this is were my knowledge stops :-) What to check?
 
you should check what command line he does

echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
cat /usr/local/directadmin/data/task.queue

and you will get the command line that he gonna execute :)

Hope it help
 
you should check what command line he does

echo 'action=tally&value=all' >> /usr/local/directadmin/data/task.queue
cat /usr/local/directadmin/data/task.queue

and you will get the command line that he gonna execute :)

Hope it help

That would be:
Code:
action=tally&value=all
 
The real question is which awstats do you have? The one supplied by directadmin or the older awstats plugin?
 
And if using the directadmin supplied awstats do you have awstats enabled in directadmin.conf?
 
The awstats supplied with directadmin, and yes awstats is enabled in directadmin.conf
 
You should be able to go to Site Summary / Statistics / Logs and see the drop down box for Awstats.
 
Back
Top