|
|
#1 |
|
Member
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5 ![]() |
Hi! I've just received a few emails from my client to say that he's not receiving email notifications for the listings he's placed.
The checkout settings are correct - ie allow renewals is yes and renewal days are 10. I have searched the forum before asking this question; I've read in another post that someone has to visit the website home page in order for it to trigger any renewal emails to be sent - is this correct? Any advice would be appreciated, thanks in advance!
__________________
Version 4.0.8 ~ Developer |
|
|
|
|
|
#2 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,130
Rep Power: 101 ![]() ![]() |
Quote:
When someone hits the sites front end, the database is checked for a lastdate value. If the last date is older than the current date the cron script is run which send out notification, expires old ads etc.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
|
#3 |
|
Member
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5 ![]() |
Hi! Thanks for the reply! Right I see....is there any way to get it to do this automatically - I've read somewhere about setting up a chronjob, I've heard of these but not sure how or where I would set one up?
__________________
Version 4.0.8 ~ Developer |
|
|
|
|
|
#4 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,130
Rep Power: 101 ![]() ![]() |
Quote:
Some web hosts dont allow you to use cron and the ones that do often differ on how to go about setting it up. I *THINK* you should just be able to create a cron job to run the script cron.php to get the desired results but you would have to try it to be sure. For actually setting up the cron job itself you will have to consult your web hosts documentation to ask them how to do it since it varies from host to host. There is often an icon in the web hosts control panel.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
|
#5 |
|
Member
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5 ![]() |
Hi! Well I've set up a crontab file to see if it works - I've pointed it to the cron.php file in the includes folder - just a quick question; do you know if I need to include the admin username/password in the file or is the link to the cron.php file enough? (As you can tell I'm very new to setting up a crontab!!)
__________________
Version 4.0.8 ~ Developer |
|
|
|
|
|
#6 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,780
Rep Power: 110 ![]() |
Hi,
That is indeed the reason we have an internal cron job. Setting them up can be difficult if you do not have experience using them. For the actual cron job just have it run the includes/cron.php on a daily basis. Then in the connections/classifieds.php file add: $manualcron = TRUE; This will prevent the script from trying to run it since you are doing it from the server. Also admin information is not required and regardless of the time set it will still only run once a day.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
|
#7 |
|
Member
Join Date: Apr 2008
Location: UK
Posts: 42
Rep Power: 5 ![]() |
Hi Eric!
Thanks for your reply and clearing up my questions. I've added the line to the Classifieds file - will give it try and hopefully it will work! Thanks again! K
__________________
Version 4.0.8 ~ Developer |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ad expiration notification not working? | Kazza | v4 Questions & Support | 4 | 09-11-2008 09:27 AM |
| Renewal emails are being sent to multiple people | castus | v4 Questions & Support | 0 | 05-14-2008 11:47 AM |
| Renewal Price Not Working | Kelly Olsen | v3.1 Questions & Support | 1 | 01-11-2008 12:51 PM |
| Passing Listing ID to notification emails | abkeller | v3.1 Questions & Support | 6 | 08-07-2007 10:20 PM |
| Ad notification emails doubling up | Bucketman | v3.1 Questions & Support | 7 | 05-24-2006 10:34 AM |