Realmailer.php & Weekmailer.php Cron Job Setup

I recently setup an article web site using articledashboard.com article management software. The installation went very smoothly until it was time to set up the Realmailer.php & Weekmailer.php in Cron Job. There was limited installation info on this subject in the articledashboard software instructions. I read forum posts from people saying they worked for hours and even days trying to get their Realmailer.php & Weekmailer.php to work.  Here's how I got my Realmailer.php  to work.  (I decided not to use the Weekmailer.php)

First, I logged into my cpanel, clicked the Cron Jobs Icon and selected the Advanced Unix style setup shown below. 

Then set up the the cron job for the file 'realmailer.php' for every minute.  (Just put a star * in each of the boxes for Minute, Hour, Day, Month, & Weekday).
 


The command line path I used was;  /usr/bin/php /home/article/public_html/realmailer.php.  This was emailed to me from the hosting company used by Article Dashboard..  This saved a lot of time.   Note that article is my user account.  Put your account name in place of article

Using this command line, I began getting emails like this;
 /usr/bin/php /home/article/public_html/realmailer.php.   Permission denied.   Upon receiving these messages I knew that the command line was correct but my account info was somehow not being recognized.

I then sent an email to the Technical Support department of my hosting company and explained that I was setting up articledashboard.com's article management software and was getting a "Permission denied" error message.  I included the command line I was using in my email 
/usr/bin/php /home/article/public_html/realmailer.php.. so they could take a look and see if it was OK. 

I received a message back from the support department indicating;  "We assigned GET permission for the user 'article'.  Now you should not get the permission denied in Cron."     This fixed the problem. 

I then began getting Cron Daemon messages every minute which basically tells you it's working.  To stop receiving the Cron Daemon messages every minute, I added  > /dev/null to the command line exactly as shown below;

/usr/bin/php /home/article/public_html/realmailer.php > /dev/null

Here's a copy of the complete installation instructions for the articledashboard software instructions

Ray Rice

ArticleNexus.com

-------------------------------------------------------------------------------------------------

Articledashboard Software Installation Instructions:



*Note - Default admin area is www.site.com/admin/
Username: admin
Password: admin

Step #1.
-----------------------------------------------
Give Write Mode (CHMOD 777) to the Following Files:
-----------------------------------------------

a. admintemplates (Directory and its files)
b. emailtemplates (Directory and its files)
c. templates (Directory and its files)
d. photoimages(directory and its files).
e. setup.php

Step #2. 
-----------------------------------------------
Creat MySQL database
-----------------------------------------------

a. Create MySQL database and write down username, database name, and password


Step #3. 
-----------------------------------------------
Database Management & Configuration
-----------------------------------------------

a. Go to the url http://www.aplusarticles.net/admin/install.php file in web browser.

It asks for the following details :
-------------------------------
i. Base_url,
ii Base_path,
iii Database name, aplusart_article
iv Database username, aplusart_data
v Database password, winter
vi Table prefix - Leave blank if not sharing a MySQL database.

Now the required Tables will be created and configured automatically.

Step #4.

a. Set a cron job for the file 'realmailer.php' for every minute.
b. Set a cron job for the file 'weekmailer.php' for every Sunday 00.01 AM.

(This is so that site visitors will receive the real time and weekly article notifications)

Home | Web Templates | Graphics | Web Hosting | SEO Software | Web Site Promotion | EBooks| | Support Services | Articles | Articles 2 | Contact

Site Copyrighted by Advancedwebsitetools.com - All Rights Reserved