Need 'Cron Job' help :(

Unity

Member
Oct 14, 2001
95
0
0
I've been installing scripts onto a site for the past couple days and trying to get this site set up. I have run into a step in the installation process that states as follows:

Cron Job
=================
This is the cron job you or your programmer needs to create (all on one line - No carriage returns.)

* * * * * /PATH/TO/lynx --dump http://PUT_YOUR_DOMAIN_NAME_HERE/directory/directory/script12345.php > /dev/null

I have been asking numerous people for help with this to no avail. I am not quite sure how to setup a cron job from my admin cp or the shell.
I tried using the crontab command on the shell but it says that the command can not be found. I am not sure what to do and have been troubleshooting for hours and hours.

Any help/Light Shed/Assitance on this topic would be extremely appreciated. Feel free to pm me or respond to this post.

Thank you very much.

Unity
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
You need access to the crontab program. And um... that script is just freely available for anyone to view? Sounds pretty insecure to me.
 

Unity

Member
Oct 14, 2001
95
0
0
I dont know how it would be free/easy for anyone to view if my domain name isnt even in there? Hehe.

BingBongWongFooey: When i logon to the shell and try to use the crontab command @ the bash-2.05$ prompt. It gives me the error like i said.

"bash: crontab: command not found"

What do i need to do to make this work. Any help would be appreciated it.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
That would be security through obscurity, not a good thing. Just because you don't tell everyone the url does not mean that no one will ever find it.

As far as crontab, try running "whereis crontab" or "which crontab", if neither of those tell you anything, then you should probably ask your host about it. Are you sure that cron is a part of your hosting package?