Union flag call 0330 660 0255status support
log in
  • Heart Internet mobile logo
  • Heart Internet Logo
  • Reseller Hosting
  • Premium Hosting
  • Web Hosting
  • VPS
  • Dedicated Servers
  • More

For account and billing queries call our helpline
0330 660 0255

For technical issues relating to your hosting please use our Support database



For information on the status of the Heart servers please use our status page

Heart Internet Support Database
  • Get support
  • Suggest a question
All Categories
Expand
Category
Accounts and Billing (54)
Expand
Category
Add-Ons (84)
Expand
Category
cPanel Web Hosting (26)
Expand
Category
Domain Names (203)
Expand
Category
Email Hosting (153)
Expand
Category
Managed WordPress (147)
Expand
Category
Reseller Hosting (162)
Expand
Category
Servers (514)
Collapse
Category
Web Hosting (650)
Expand
Category
Databases (75)
empty
Category
eXtend Control Panel (24)
empty
Category
FTP (20)
empty
Category
Glossary (28)
Expand
Category
Programming Languages (139)
empty
Category
Site Management (47)
Expand
Category
Software (120)
empty
Category
Website Extras (37)
empty
Category
Website Problems (45)
Home » Categories » Multiple Categories

Why did my scheduled task (cron job) not run?

Article Number: 480 | Rating: Unrated | Last Updated: Tue, May 12, 2015 at 9:02 AM

If your scheduled task/cron job did not run when you asked it to, there are a few things you can check.

Check the permissions

Make certain that the permissions for your script are set correctly.  They should be 711 or 755.

Specify the script interpreter

If the interpreter is not specified, then the server will not be able to read the code in your script.

Some of the interpreters are:

  • Perl - /usr/bin/perl
  • PHP4 - /usr/bin/php4
  • PHP5 - /usr/bin/php

Ensure the script will run

If your script is adapted from a CGI script, you will need to make certain the script can be run by the shell.  For example, if it includes #!/usr/bin/perl, that will be interpreted as a comment, and will stop it from running.

Use the test function

In the eXtend Control Panel, you can test the script before you save it.  Test it after making changes and see if it runs the way you would expect it to.

Add debugging code

The output code can be emailed to you from the script, and from there you can see how far the script gets before it fails.

If you are still having problems, please raise a Support Ticket with the Customer Services team.

Posted - Tue, Mar 17, 2015 at 3:41 PM.
Filed Under: eXtend Control Panel, Site Management, Web Hosting, Website Extras, Website Problems
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PrinterPrint Article
  • Icon EmailEmail Article to Friend
  • Icon PDFExport to PDF
Related Articles
What does this website status code mean?
Added on Wed, Apr 1, 2015
If I’ve bought my domain from another registrar, how can I host my website with you?
Added on Tue, Mar 10, 2015
How do I order an SSL Certificate?
Added on Tue, Dec 15, 2020
How do I get support from the Heart Internet Customer Services team?
Added on Tue, Mar 3, 2015
Why can’t I connect to my site using FTP?
Added on Fri, Mar 13, 2015
 
Heart Internet Logo
Services
  • Domain Names
  • Web Hosting
  • Premium Hosting
  • Reseller Hosting
  • More
  • Virtual Private Servers
  • Dedicated Servers
  • Sign Up
Company
  • About Heart Internet
  • Our Blog
  • Support
  • Our Awards
  • More
  • Careers
  • Contact Us
  • Testimonials and Reviews
Community
  • Affiliate Program
  • Events We Sponsor
© 2016 Heart Internet Ltd. All rights reserved.
Terms and conditions Privacy Policy Sitemap
Heart Internet Logo