Jump to content

Cron Jobs and PHP error


L

Recommended Posts

Hi,

I need some help. So basically with my bihira account I wanted to run a cron job every minute executing the file all.php. But I made a mistake and made the path wrong. No big deal I thought as I just went back and fixed it to the right path...

 

This is what I entered: * * * * * /home2/iffatb/public_html/iv/includes/all.php

 

But now here is the problem. When I go to my domain it gives me an internal error 500, and I can't see any way to undo the cron job. Please help, I'm hoping this mistake is fixable.

 

Can it be an error in my all.php file?

Link to comment
https://forums.phpfreaks.com/topic/77258-cron-jobs-and-php-error/
Share on other sites

^ yah basically...

all.php has the if statements for upgrading a member if they reached a certain amount of posts...

if $numposts >= 30 && $numposts < 10

something like that but a bunch for all the ranks...I don't want the site to slow for having that in an include all the time so I'd rather cron it

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.