View previous topic :: View next topic |
Author |
Message |
shadowmancer -
Joined: 04 Jan 2004 Posts: 11
|
Posted: Tue Jan 13, 2004 12:39 am Post subject: Crontab?? |
|
|
Is it possible to use Cron jobs on Abyss?? |
|
Back to top |
|
|
Axis -
Joined: 29 Sep 2003 Posts: 336
|
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Tue Jan 13, 2004 9:56 am Post subject: |
|
|
Why use Cron for Windows when NT/2K/XP already have the built in At command, and 98/ME (ew!) have the scheduler app ? Not heckling, just wondering - can't see anything else that Cron does to improve it over At...
H:\>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"
\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run. |
|
Back to top |
|
|
alienseeder -
Joined: 11 May 2005 Posts: 22
|
Posted: Wed Aug 24, 2005 2:49 pm Post subject: HUH??? |
|
|
Yeah So How Does One Use It Though Lots Of Technical Jargon There But Really How Do I Point That AT Thingy to "tracker/clean.php" |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 25, 2005 1:25 pm Post subject: Re: HUH??? |
|
|
alienseeder wrote: | Yeah So How Does One Use It Though Lots Of Technical Jargon There But Really How Do I Point That AT Thingy to "tracker/clean.php" |
Create a new BAT files called mytask.bat for example and copy the following code in it:
Code: |
@echo off
call "C:\Path\To\PHP\php.exe" "C:\Path\to\tracker\clean.php"
|
Then create a new Windows scheduled task associated with this BAT file that runs daily (or at any frequency you wish). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
alienseeder -
Joined: 11 May 2005 Posts: 22
|
Posted: Thu Aug 25, 2005 7:26 pm Post subject: Thank You |
|
|
Thanks Im Terrible With Command Lines And Stuff Like That
It Works I Think (time Will Tell) Im Using VBTT On A Windows XP CPU (Abyss Rocks!!!) And A Known Problem With The Script
Is The Stats Dont Update Right. There Is A Cron Fix For Unix Users That Requires Calling On The Clean.php Script To Manually Clean The Database Stats But Windows Dont Have Cron |
|
Back to top |
|
|
|