Corn Job

Yes it's possible, you just need to call the php interpreter before the php script.
For example
Code:
/usr/local/bin/php /home/username/some_script.php
 
If you don't have root/admin access, you can use special PHP Apps to run PHP scripts at scheduled times. Here is one:

http://www.dwalker.co.uk/phpjobscheduler/

For these types of PHP-Cron scripts to work correctly, you must get a fair amount of visitors to the website you are putting it on because it works by running a PHP script every time someone accesses a page on your site which checks to see if a cron job should have been executed, is so, it is executed. Says it also works for perl scripts.

If you have admin access to the server, then the real cron daemon is the best way to go, if you don't, this is the next best option. (Perhaps your only option)

Louie
 
Oh, I forgot that DirectAdmin allows users to have cronjobs, maybe you can use that to do it?? I don't know, I've never used the cron option in DA.

Louie
 
I have corn job access in direct admin... I though that just typing the directory location/filename would work but it doesn't.

I've read that the GET function would do the job but I don't have this PERL module installed so I though maybe there's some other solution......
 
Back
Top