Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 28 Apr 2008, 15:41
Bellardia Bellardia is offline
Join Date: Jul 2007
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!

Last edited by Bellardia; 28 Apr 2008 at 15:42. Reason: minor grammar fixes
Reply With Quote
Old 28 Apr 2008, 16:16
Lynne's Avatar
Lynne Lynne is offline
Join Date: Sep 2004
Real name: Lynne
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.
Former Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 14:58.

Layout Options | Width: Wide Color: