how to run php script using putty?

  • Thread starter Thread starter Jimmy
  • Start date Start date
J

Jimmy

Guest
I have logged in putty . Now I have to run the php script regarding to send mail automatically in a specified time period.
But when I run it gives me error
the command I ran is as
*/5 * * * * /sendmail.php
-bash: */5: No such file or directory

it shows the above result please help me
 
I'm no *nix guru but it sounds like you're trying to use a cron job.

You'll want to put the "*/5 * * * * /sendmail.php" line in your crontab file and make sure you have crond running on the server.

Check out this site for more info:

http://www.modwest.com/help/kb5-125.html
 
Back
Top