The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need Cron To Run A .PHP File
what up VB Fam? I tried setting my cron on my server to run a PHP file for me but i can't seem to get it to work. Any tips on how to execute a php file via cron either with in cpanel or vb.
|
#2
|
||||
|
||||
You can't just run php script in cron as linux doesn't know how to execute that file. Change permissions of that script to make it executable, and at the beginning of script add this:
Code:
#!/usr/local/bin/php -q and make sure you put full path to your php script |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|