Crontab help


#1

Hi, I need to know how to set one up properly, word has it that you can access it through Telnet, (telnet.exe). I have tried…

o ...** doesn’t work. It won’t connect…

even:

o localhost doesn’t work :@

just keeps saying - Could not open to the host, onport 23: Connection Failed.

Any help will be appreciated.


#2

This is the only info/link I have on cron. Hope it helps you out.

http://prognosis.lib.ece.ntua.gr/dimitr … 3-766.html


#3

And another link…
http://www.htmlcenter.com/tutorials/tut … m/155/php/

Basically to get it working on my host, all I did was went to the Cron Jobs and typed this in:

(lets pretend run at midnight a program called cron.php)

“0 0 * * * lynx -dump http://mysite.com/cron.php

I as well had problems connecting and got that same message when trynig to connect to mine as well. (when trying to connect through shell). So im not sure on that one.
Hope this helps!
Drew


#4

Ok First of all, I am a bit confuse? What is your question relating to PHP ? is there a script you want to schedule on a regular basis using cron?
If so what is the syntax you used?

You have something that looks sort of like a crontab entry but a lot is missing .

Also what is the issue of Telnet? Perhaps Telnet (port 23) is closed. This is really a possibility, since it is a security hole. Maybe you need to use port 22 (SSH) which is secure.

If you are looking for info on the crontab itself, all you need to do is a quick google search

http://www.google.com/search?hl=en&ie=UTF-8&q=crontab&btnG=Google+Search
on crontab and you will get tons of results. I found this one to be decent.
http://www.mkssoftware.com/docs/man1/crontab.1.asp