hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to set up cron job on godaddy?
Reply

Forum Jump

How to set up cron job on godaddy?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-25-2009, 10:49 PM
ScoutRobin ScoutRobin is offline
New Member
 
Join Date: Dec 2009
Posts: 1

How to set up cron job on godaddy?


Hey guys, my current web host is Godaddy.com linux shared hosting.
I tried godaddy's cron manager to run Perl script.
Here is the command:

#!/usr/bin/perl -q /home/content/h/o/s/hostus/html/cgi/script.pl

I was wondering for why my cron jobs would not work?



Sponsored Links
  #2  
Old 12-25-2009, 11:02 PM
bear bear is offline
Community Leader
 
Join Date: Oct 2002
Location: Mayberry
Posts: 19,662
I don't believe you use the whole shebang line "#!/user/bin/perl", just this:
perl -q /path/to/script.pl

The shebang should be on the first line of the script being called, and you need to make sure it points to PERL on your server.

__________________
Having problems, or maybe questions about WHT? Head over to the help desk!



  #3  
Old 01-02-2010, 09:13 PM
fleshins fleshins is offline
Newbie
 
Join Date: Jan 2010
Posts: 5
did you ever end up getting a cron to run with godaddy? im not even getting emails about the cron jobs I've configured and I can't seem to get even the most basic of jobs to run. Here's what my crontab file looks like:

$ cat crontab
# canary
MAILTO="xxxxxxx@gmail.com"
# 2 test2
0 * * * * /bin/touch $HOME/cron_test
# 1 test1
1 * * * * /web/cgi-bin/php $HOME/html/gdform.php

Any ideas? Thanks for the replies in advance

Sponsored Links
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set cron job? xfob Hosting Security and Technology 7 09-11-2006 08:57 PM
How do I set up a Cron Job to email Dawizz Hosting Security and Technology 6 06-14-2005 09:08 AM
$5 to set up a cron job mrlarter Employment / Job Offers 2 07-04-2004 11:15 PM
How to set a cron job? Cael Hosting Security and Technology 6 01-08-2002 05:01 AM

Related posts from TheWhir.com
Title Type Date Posted
GoDaddy Listing 2014-01-10 22:48:53
GoDaddy Listing 2014-01-10 22:48:53
GoDaddy Listing 2014-01-10 22:48:53
GoDaddy Listing 2014-01-10 22:48:52
GoDaddy Listing 2014-01-10 22:48:52


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?