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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.