var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
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?
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!
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
MAILTO=" [email protected]"
# 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 Technology
Last Post: 09-11-2006, 08:57 PM
By Dawizz in forum Hosting Security and Technology
Last Post: 06-14-2005, 09:08 AM
By mrlarter in forum Employment / Job Offers
Last Post: 07-04-2004, 11:15 PM
By Cael in forum Hosting Security and Technology
Last Post: 01-08-2002, 05:01 AM