Kevin,
According to the Unix book I'm reading, I need to issue the weekday as a
number 1-7. I take it in Linux one can actually put a days
abbreviation? Also if I register the crontab file using the crontab
util via the sudo command, do I need to put root in the command? The
crontab file would also be created by executing gedit using the sudo
command (thus it will be owned by the root user and the root group).
Why do I need to specify the path for the Perl command? The path to
Perl is part of my $PATH env variable. Does cron not look at the $PATH
variable? Finally, what does the -notick option do? Is it a
rebuildspamdb option or is it a Perl option? I know it is a lot of
questions. I just want to make sure I know exactly what the command is
doing.
sincerely,
Travis Forghani
IT Administrator
Bowman Enterprises, Inc.
Cell: 919-795-9298
Office: 919-894-3662, Ext. 34
[EMAIL PROTECTED]
This message is intended only for the use of the individual or entity to which
it is addressed and may contain information that is privileged, confidential
and exempt from disclosure under applicable law. If the reader of this message
is not the intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly prohibited by law.
If you have received this communication in error, please notify me immediately.
Kevin wrote:
Travis Forghani wrote:
Hi,
I'm new to Linux and have ASSP running. It is running on Ubuntu Feisty
AMD64. I know I have to use Cron to schedule rebuildspamdb to run
weekly. How do I go about doing this?
Assuming you know how to use crontab this command will run the rebuild
at 4am every Sunday.
----------
* 4 * * Sun root /usr/bin/perl /path/to/assp/rebuildspamdb.pl -notick
----------
Also, is there a way to, via a scheduled script, disable my nic and
then re-enable it after a certain amount of alloted time? I do this
on Windows 2000 via devcon.
You can use ifconfig for this. But why?
Kevin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user