This is my first cron job (don't laugh)
I'm using windows with cygwin (don't laugh)
I have no idea what I'm doing with these cron jobs (ok, now you can laugh)
my php script:
#!/usr/local/bin/php -q
<?
print("hello");
?>
I go to the cygwin command line and telnet into my account.
then I type cd [ENTER] to go to the main dir
then I type crontab -e
I enter the following line:
* php /htdocs/www/crontest.php
then I hit [ESC]
then I type the command:
:wq and hit [ENTER]
is this correct.
It seems that the crontab installs ok. But how do I know that it works. Will that above script do anything? What's a good script to use to see if cron is working or if I'm doing it right?
Thanks for the help.
(The server has php installed as cgi and is running on unix)