Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

dhananjay
Joined: Apr 30, 2004
# Posts: 13

View the profile for dhananjay Send dhananjay a private message

Posted: 2004-Oct-10 11:16
Edit Message Delete Message Reply to this message

Dear Sir,
I want to write a cron job that will run the script (activate.cgi) every hour everyday which is available at cgi-bin/autoresponder/activate.cgi.
Please guide me how to write this.

Thank you

Dhananjay Pathak



Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1795

View the profile for Prowler Send Prowler a private message

Posted: 2004-Oct-11 13:39
Edit Message Delete Message Reply to this message

This is the crontab format:
[min] [hour] [day of month] [month] [day of week] [program to be run]

0 * * * * /path-to/cgi-bin/autoresponder/activate.cgi

You will need to find the path to your cgi-bin directory. If you have access to the shell, navigate to the cgi-bin folder and type pwd

Then type crontab -e
to add in the directives as given above.



You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions