Hi is there a way I can run automatic scripts in php without setting up cronjobs on the server?
For example I would like a script to run at the end of each day and remove expiring directory listings
Thanks in advance
Runing automatic scripts
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
ya, a CRON TASK is the only sensible way, but you can create a fake cron task handler that runs in PHP, but the process would have to run, then sleep between each process. Not recommended, but it works when you don't have any other option! If you do that be sure to use a placeholder, so you can kill the process when you need to!
me!
me!