Singapore
Web Hosting
With
24/7 Super Support
Blog
Contact Us
Client Login
Email: Call: +65 6288-6264
Home
About Us
About Vodien
About Vodien
Why Vodien
Network & Data Centres
Speed Test
Green Web Hosting
Customer List
Customer Testimonials
Contact Us
Web Hosting Solutions
Website + Email Hosting
Shared Web Hosting
Business Web Hosting
Email Hosting
Email Hosting
Email Archival Solutions
Domain & SSL
Domain Names
Free .sg Domain Name
SSL Certificates
Virtual Private Servers (VPS)
Linux VPS Hosting
File Hosting
File Hosting (FTP/HTTP)
Content Delivery Network (CDN)
File Archival/Storage Hosting (FTP)
Dedicated Servers
Dedicated Server
Dedicated Backup Servers
Advanced Web Hosting
Complex Web Hosting Solutions
Full Rack Colocation
Web Services
Web Services
Ad Banner Design
Logo Design
Web Site Design
Blog Theme Web Design
CMS Web Design
E-Commerce Packages
Resellers
Resellers & Affiliates
Reseller Web Hosting
Affiliate Program
24/7 Super Support
24/7 Super Support
Submit a Support Ticket
Check Ticket Status
Remote Help
Support Escalation Path
Help & Guides
Transfer to Vodien
Knowledge Base/FAQ
Web Hosting Quick-start Guide
Web Hosting Video Tutorials
How To Get Started?
News and Announcements
Order Now
Website + Email Hosting
Shared Web Hosting
Business Web Hosting
Email Hosting
Email Hosting
Email Archival Solutions
Domain & SSL
Domain Names
Free .sg Domain Name
SSL Certificates
Virtual Private Servers (VPS)
Linux VPS Hosting
File Hosting
File Hosting (FTP/HTTP)
Content Delivery Network (CDN)
File Archival/Storage Hosting (FTP)
Dedicated Servers
Dedicated Server
Dedicated Backup Servers
Complex Web Hosting
Complex Web Hosting
Billing Account
Sign Up for Billing Account
Support Center
»
Knowledgebase
»
How to setup cron job in cpanel
Web hosting Knowledge Base/FAQ
How to setup cron job in cpanel
Solution
Many a times, users will place the URL inside the cron job, and always wonder why the cron job does not work. What you may have done is putting just the URL into the cron command, for example:
0 0 * * *
http://www.websiteurl.com.sg/pathtoyourfile.php
The above command will not work, because the cron job system will not understand what it is required to do, here are 2 popular methods of running a cron job via cPanel.
For example:
0 0 * * * php -q /home/youraccountusername/public_html/pathtoyourfile.php
0 0 * * * wget -q -O/dev/null
http://www.websiteurl.com.sg/pathtoyourfile.php
Article Details
Article ID:
99
Created On:
05 Jul 2011 10:38 PM
User Comments
Add a Comment
Sharing is good. If you have a comment about this entry, please feel free to share. The comments might be reviewed by our staff, and may require approval before being posted. Questions posted will not be answered. Please submit a Ticket for support requests.
Fullname:
Email: (Optional)
Comments:
Back
Login
[Lost Password]
Email:
Password:
Remember Me:
Search
-- Entire Support Site --
Knowledgebase
Article Options
Add Comment
Print Article
PDF Version
Email Article
Add to Favorites