Jump to content

Cron Jobs on Heart Internet


Recommended Posts

When I use




I get the error "No such file or directory"


When I use




I get the error "access denied"


Heart Internet Cron page says....


Please note the following common problems you may experience when setting up a scheduled task:


* Please make sure you enter a valid date for your tasks.

* The file permissions for the script are set correctly, 711 or 755.

* If the scheduled program includes code from a scripting language, the path for the interpreter must be specified before the script. For example, /usr/bin/perl (Perl), /usr/bin/php (PHP 4) or /usr/bin/php5 (PHP 5)

* If the script being run is adapted from a CGI script, ensure the first line of the script is a 'shebang' line containing the correct interpreter path - as above - (for example #!/usr/bin/perl).


I have also tried;



but get the following error when I test it;


Your script returned the following:

Can't find '#!/usr/bin/php5/home/sites/mydomain.com/public_html/whmcs/pipe/pop.php/'. Check that you have the correct location.


Can anyone see where I am going wrong?

Edited by Darylt
Link to comment
Share on other sites

We are getting there!!




/usr/bin/php5 /home/sites/mydomain.com/public_html/whmcs/pipe/pop.php/


I am getting


Your script returned the following:

Status: 404 Not Found

X-Powered-By: PHP/5.2.12

Content-type: text/html


No input file specified.



/usr/bin/php5 /home/sites/mydomain.com/public_html/whmcs/admin/cron.php


I am getting


Your script returned the following:

X-Powered-By: PHP/5.2.12

Set-Cookie: PHPSESSID=a04oe5uene5ngcg2e9s0qb0bk2; path=/

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Content-Type: text/html; charset=utf-8

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated