|
-
Nov 17th, 2008, 07:33 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Cron Jobs
I need to set up a cron job that will auto execute every 24 hrs...
The script is named daily.php
Please help
-
Nov 17th, 2008, 07:59 PM
#2
Re: Cron Jobs
cron jobs arnt PHP, they are *nix...
This may help http://www.adminschoice.com/docs/crontab.htm
My usual boring signature: Something
-
Nov 18th, 2008, 03:43 AM
#3
Re: Cron Jobs
Hi Zach,
What's your hosting setup? Shared? Dedicated server? Free hosting?
Unless you have a dedicated server your probably not going to have access to a shell to access the crontab directly.
If you're on a shared host then they may give you support for cronjobs via the control panel, they usually have a nice UI to setup cronjobs.
If you're on a Windows server then it'll have to be Schedules Tasks.
Hope this helps
-
Nov 19th, 2008, 12:24 PM
#4
Frenzied Member
Re: Cron Jobs
 Originally Posted by the182guy
If you're on a Windows server then it'll have to be Schedules Tasks.
So you can actually write a php script, and then have scheduler run it whenever you want?
Easy? Never tried. Might wanna. Send out spam to all vbf user's sleeping or sth.
-
Nov 19th, 2008, 05:55 PM
#5
Re: Cron Jobs
 Originally Posted by StrangerInBeijing
So you can actually write a php script, and then have scheduler run it whenever you want?
Easy? Never tried. Might wanna. Send out spam to all vbf user's sleeping or sth.
Yes, a PHP script can be executed like a batch script. It is actually more powerful than a batch script but lacks the Windows integration you would get with Windows Script host, however.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|