12-25-2009, 10:49 PM #1New Member
- Join Date
- Dec 2009
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?
12-25-2009, 11:02 PM #2
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!
01-02-2010, 09:13 PM #3Newbie
- Join Date
- Jan 2010
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
# 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
By xfob in forum Hosting Security and TechnologyReplies: 7Last Post: 09-11-2006, 08:57 PM
By Dawizz in forum Hosting Security and TechnologyReplies: 6Last Post: 06-14-2005, 09:08 AM
By mrlarter in forum Employment / Job OffersReplies: 2Last Post: 07-04-2004, 11:15 PM
By Cael in forum Hosting Security and TechnologyReplies: 6Last Post: 01-08-2002, 05:01 AM