PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
Old January 7th, 2006, 05:44 PM   #41 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
Okay you may need to contact the host about this as I can not speak on how they handle there cron tasks. However have you tried this where they ask for path replace with your url

/usr/bin/wget --spider http://www.viperalley.com/classifieds/sendnotice.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 10th, 2006, 09:16 AM   #42 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 96
Chuck I get an error bad day of the month? why would you not use 10 * * * * * /usr/bin/wget --spider etc etc? won't that tell it to run every 10?
I'm not an expert just asking as I got an error trying to save the entry
RCHobbies is offline   Reply With Quote
Old July 10th, 2006, 09:44 AM   #43 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
*/10 * * * * /usr/bin/wget --spider http://www.viperalley.com/classifieds/sendnotice.php

that would be every 10 minutes
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 13th, 2006, 01:25 AM   #44 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 96
I've got it all set up and it worked.
so I threw a test ad up as an auction. It expired as it should but
i got home tonight and found that I've gotten like 20 emails from the system?
why is it doing this?
RCHobbies is offline   Reply With Quote
Old July 30th, 2006, 07:44 AM   #45 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
Daft question but why is this not mentioned in the PPC install script?
Arnie is offline   Reply With Quote
Old July 30th, 2006, 10:10 AM   #46 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
You mean in the install instructions here

http://www.photopost.com/class/installphp.html

I will see if Michael can updates them as it would be a good idea
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 13th, 2006, 03:13 PM   #47 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Posts: 8
Ok, not to beat a dead horse but, after finding the right command for my host,


( /usr/bin/php -q /home/mrpainti/rccna/public_html/pp-classifieds/sendnotice.php)

I get, No input file specified. in the body.


Is this normal??

Thanks again


It must not be, as sold items are STILL showing up on my random ads sidebar on my VBadvanced page?
happy mutant is offline   Reply With Quote
Old October 13th, 2006, 07:33 PM   #48 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
If its no input file your path is wrong or the cron command is incorrect. It is not finding your file
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 20th, 2007, 09:52 PM   #49 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 13
Just a note, I'm glad I found these last two posts.

My host does not allow me to use wget.

Code:
Content visible to verified customers only.
does work for me though.
sparky is offline   Reply With Quote
Old April 5th, 2007, 08:29 PM   #50 (permalink)
Member
Verified Customer
 
1996 328ti's Avatar
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 196
Does this mean that the script ran?

--03:00:03-- http://xx.xx.xx/sendnotice.php
=> `sendnotice.php'
Resolving xx.xx.xx... xx.xx.xx.xx
Connecting to xx.xx.xx|xx.xx.xx.xx|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
200 OK
__________________
...steven
www.318ti.org
www.nccbmwcca.org
1996 328ti is offline   Reply With Quote
Old April 5th, 2007, 09:45 PM   #51 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
sounds like it has yes
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 8th, 2007, 08:29 AM   #52 (permalink)
Member
Verified Customer
 
1996 328ti's Avatar
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 196
I thought sendnotice was being sent because I was getting an email that said OK from the cronjob. That wasn't the case and users confirmed that they did not get any notice.

My host recommended this
/usr/bin/php -q /home/username/public_html/sendnotice.php

Now I get an email with all of the users' names warning them that their ad is going to expire. Including a test ad that I have about to expire.

I hope this helps someone.
__________________
...steven
www.318ti.org
www.nccbmwcca.org
1996 328ti is offline   Reply With Quote
Old April 8th, 2007, 10:40 AM   #53 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
all depends on your specific hosts requirements
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 8th, 2007, 05:38 PM   #54 (permalink)
Member
Verified Customer
 
1996 328ti's Avatar
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 196
Quote:
Originally Posted by Chuck S View Post
all depends on your specific hosts requirements
EXACTLY.
That is why I posted what worked for me.
__________________
...steven
www.318ti.org
www.nccbmwcca.org
1996 328ti is offline   Reply With Quote
Old April 17th, 2007, 08:48 PM   #55 (permalink)
Junior Member
Verified Customer
 
Join Date: Nov 2006
Posts: 13
Quote:
Originally Posted by 1996 328ti View Post
I thought sendnotice was being sent because I was getting an email that said OK from the cronjob. That wasn't the case and users confirmed that they did not get any notice.

My host recommended this
/usr/bin/php -q /home/username/public_html/sendnotice.php
Hmm, looks vaguely familiar.
sparky is offline   Reply With Quote
Old January 2nd, 2008, 02:12 PM   #56 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Huh?

Okay, I've read through the posts within this thread, but can not figure out where i would insert the codes. Below is a screenshot of the cron screen from within my site, hosting by dotster.com, and using plesk 8.2. Just exactly what code do i enter, and where? I'm a total noob, so please speak in noob terms... thank you in advance!

Code:
Content visible to verified customers only.
doc1975 is offline   Reply With Quote
Old January 2nd, 2008, 02:48 PM   #57 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
You might need to ask your host how to set that to run every 10 minutes etc

*/10 * * * * /usr/bin/wget --spider http://www.viperalley.com/classifieds/sendnotice.php

Thats the example cron Michael posts so that tells me you place * everywhere except hour which you would place /10 maybe and then on the command line you enter

/usr/bin/wget --spider http://www.yoursite.com/classifieds/sendnotice.php

Your host would know more on their regulations concerning crons through. Our examples are all for the command line crons the graphical ones like yours they work the same you just need to place the right info from that command line down the line on the right lines.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 2nd, 2008, 04:08 PM   #58 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
ok...

is there a space between "...wget" and "--spider"?
also is there a space between "--spider" and "http://www.mysite........"?
doc1975 is offline   Reply With Quote
Old January 2nd, 2008, 04:47 PM   #59 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,740
yes there is and you can also try just placing something like this on that line note this one would be server path. The wget is the one that allows you to do a url versus the normal server path. Replace below with your true server path etc

/usr/bin/php -q /var/www/html/pp-classifieds/sendnotice.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 3rd, 2008, 08:18 AM   #60 (permalink)
Member
Verified Customer
 
Join Date: Oct 2007
Posts: 172
Worked, sort of...

I went ahead and created the cron job with the original command and it appears to have worked for the auction test ad, as its removed the pic and the ad associated with it, but the other normal ads are still there (text descriptions) although the pictures have now been removed... any suggestions?

http://www.reptilejunction.com/classifieds
doc1975 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does sendnotice.php remove the ads from the database? Andy R Classifieds Installation & Upgrades 7 November 22nd, 2005 10:06 PM
Questions about sendnotice.php and stats cdouglas Classifieds Installation & Upgrades 2 August 18th, 2005 01:56 PM
Sendnotice.php Bryan Ex Classifieds Suggestions 2 June 22nd, 2004 04:58 PM


All times are GMT -5. The time now is 03:23 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0