![]() |
||||||||||||
|
||||||||||||
|
Razer Technology Solutions, Inc.
|
Configuration of
Cron Jobs for Automatic Search Engine Submissions Cron is a
mechanism for planning and scheduling batch jobs. Implemented on Unix
systems, The daemon
"crond" is started automatically on system boot up. It runs
one check per minute The following
commands work from the assumption that you are either logged in by Telnet
or Entering
the command "crontab -l" will display a list of current entries.
By default, only entries Existing lists can be removed/deleted with command "crontab -r". To create
a new list, it is recommended to read the entries from a file using command
The following
examples will show you the format of this file. The file itself is created
with an Example: 0 12 * * * /usr/yourdomain/cgi-bin/subfrog.cgi cron_parm1.txt This entry
consists of six parameters. The first five parameters define the time
schedule, whereas - the full path and file name of the script - an argument This latter
argument defines the batch configuration for your submission program,
e.g. In fantomas
subFrog, this command can be transferred by "cut and pasted"
from the list of Parameters defining the time schedule are: minute(0-59) Hence, the
above sample entries: 0 12 * * * can be translated as: If Minute = 0 and Hour = 12, the script will be executed. Because the
last three scheduling parms are defined by wildcard character "*",
the job will be executed every Scheduling
Week Days 0 12 * * 1 /usr/yourdomain/cgi-bin/subfrog.cgi cron_parm1.txt Scheduling
Turn of Month 0 0 1 * * /usr/yourdomain/cgi-bin/subfrog.cgi cron_parm1.txt Configurations
for Multiple Domains E.g. you
may create a file named "crontabfilename.txt" 0 12 * *
* /usr/yourdomain/cgi-bin/subfrog.cgi cron_parm1.txt The respective
argument "domain1.cron.txt" defines the Next, the
command "crontab crontabfilename.txt" will Important For further explanations under Unix, you can select from the following commands: man crontab Find out
more about fantomas subFrog PRO(TM) and This text may freely be republished or distributed provided the following resource box is included intact either at the beginning or the end of the article and a complimentary copy or notice (link) is sent to the author at the address specified below: Dirk Brockhausen is
the co-founder and principal of fantomaster.com Ltd. (UK) and fantomaster.com
GmbH
|
|
|||||
| home · services
· about us · copyright
· the eZine · contact
· customer site Copyright © Razer Technology Company 1999 - 2008. Legal Disclaimer Site Mod:1/2008. |