 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
January 7th, 2006, 05:44 PM
|
#41 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
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 |
| |
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
|
| |
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?
|
| |
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?
|
| |
July 30th, 2006, 10:10 AM
|
#46 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
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
|
| |
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?
|
| |
October 13th, 2006, 07:33 PM
|
#48 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
If its no input file your path is wrong or the cron command is incorrect. It is not finding your file
|
| |
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.
|
| |
April 5th, 2007, 08:29 PM
|
#50 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Greenville, SC
Posts: 156
|
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
|
| |
April 5th, 2007, 09:45 PM
|
#51 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
sounds like it has yes
|
| |
April 8th, 2007, 08:29 AM
|
#52 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Greenville, SC
Posts: 156
|
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.
|
| |
April 8th, 2007, 10:40 AM
|
#53 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
all depends on your specific hosts requirements
|
| |
April 8th, 2007, 05:38 PM
|
#54 (permalink)
| | Member Verified Customer
Join Date: Aug 2004 Location: Greenville, SC
Posts: 156
| Quote:
Originally Posted by Chuck S all depends on your specific hosts requirements | EXACTLY.
That is why I posted what worked for me.
|
| |
April 17th, 2007, 08:48 PM
|
#55 (permalink)
| | Junior Member Verified Customer
Join Date: Nov 2006
Posts: 13
| Quote:
Originally Posted by 1996 328ti 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. |
| |
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.
|
| |
January 2nd, 2008, 02:48 PM
|
#57 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
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.
|
| |
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........"?
|
| |
January 2nd, 2008, 04:47 PM
|
#59 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
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
|
| |
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 |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:28 AM. | |