Reset Usage on a specific date

arutha

Verified User
Joined
Aug 25, 2005
Messages
38
Location
Australia
I have just started to set this up as directed

http://help.directadmin.com/item.php?id=53

however

"To accomplish this, you'll need to remove the following line from the /etc/cron.d/directadmin_cron:"

/etc/cron.d by default atleast does not exist on my install on FreeBSD, instead that line was located in /etc/crontab

Not fully understanding how this is intended to work will there be any changes required for this to work? or will freebsd allow the script to run as is, and create the required files in cron.d

Your help is appreciated
 
The location of the cronjob differs on each Operating System. you only need to make modifications to the crontab in /etc/crontab
 
and modify the user_create_post or whatever where it writes the file it uses

"echo blah > file" which will over write the crontab it should append using

"echo blah >> file"

found out/remembered the hard way. posted for reference of anyone searching in future.
 
Back
Top