The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Problem with Crons
I made a script that uses image id's stored in MySQL to create custom images, save them to a file, and then put the file url back into the table.
The problem comes from the cron job. I've set it to run every 10minutes, which it seems to do just fine, however when it runs on its own the result is an empty file consisting of just the background layer. The thing I don't understand is that if I go to vbulletin options > scheduled tasks, and 'Run Now' the images are created perfectly. Anyone know a possible cause for this problem? Thanks a lot! |
#2
|
||||
|
||||
I have had this happen, and I don't know that there is any one answer. For me, I think it was a permissions thing (check your file permissions), but another time I think it was the file format.
It sounds like it is getting part way through your script and then not finishing, is that correct? Maybe post the code and we can see if there is something wrong. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|