LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cron Job and more setting up an auto responder in cPanel? (http://www.linuxquestions.org/questions/linux-newbie-8/cron-job-and-more-setting-up-an-auto-responder-in-cpanel-926858/)

iplayoldmarshalls 02-01-2012 03:18 AM

Cron Job and more setting up an auto responder in cPanel?
 
Hi everyone.

I'm attempting to set up a PHP auto responder script called Auto Response Plus & I'm running cPanel WHM.

I've made it through uploading & successfully insulting the script to my amazement.

But the rest is getting rocky. I'm a newb.... & this is tripping me up:

Create The Cron Tasks

The software requires two cron tasks to be created. This is normally done on the domain control panel
supplied by your hosting provider. The two scripts to be run by cron tasks are in your cgi-bin/arp3
directory:

arp3-auto.pl to be run hourly
arp3-report.pl to be run once nightly at around 11.45pm

Emailed Subscriptions And Automatic Bounce Management

The system can accept subscriptions by email and also manage messages that bounce back.


So I go into cPanel>cron jods & see this:

Send an email every time a cron job runs. less

You can have cron send an email everytime it runs a command. If you do not want an email to be sent for an individual cron job you can redirect the command's output to /dev/null like this: mycommand >/dev/null 2>&1


I don't need emails sent every time the cron runs. What is the command I need?

Next just under that in the cron jod I see:

Add New Cron Job
Common
Settings:
Minute:
Hour:
Day:
Month:
Weekday:
Command:


I set it for once an hour I think that will do fine, but again, what is the command? Is it just the path & username like this:

home/usernamefortheaccount/public_html/cgi-bin/arp3-auto.pl

Thanks in advance,

Guy


All times are GMT -5. The time now is 12:20 AM.