ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Any cron/UNIX script experts? (https://www.scoobynet.com/computer-and-technology-related-34/296548-any-cron-unix-script-experts.html)

gregh 28 January 2004 10:07 AM

can anyone tell me why all the jobs after this line I've inserted as ----- don't work, but the ones above do??? Is it the ? I use to parse a variable to the php script? If that's the issue how can I run it with the ?, as it is needed!

#!/bin/sh
lynx -dump -source http://www.ipaqsoft.net/php/topten.php >~/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/dailytop.htm
lynx -dump -source http://www.ipaqsoft.net/php/topten.php >~/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/dailytop.htm
lynx -dump -source http://www.ipaqsoft.net/php/toptenweekly.php >~/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/weeklytop.htm
lynx -dump -source http://www.ipaqsoft.net/php/gencategorylist.php >~/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/catlist.html
lynx -dump -source http://www.smartphonesoft.com/php/toptendaily.php > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/smartphonesoft.com/dailytop.htm
lynx -dump -source http://www.smartphonesoft.com/php/toptenweekly.php > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/smartphonesoft.com/weeklytop.htm
lynx -dump -source http://www.smartphonesoft.com/php/toptenmonthly.php > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/smartphonesoft.com/monthlytop.htm

---------------above works, below doesn't

lynx -dump -source http://www.ipaqsoft.net/php/newgameresults.php?type=games > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/allgames.htm
lynx -dump -source http://www.pocketpcsoft.net/php/freeware.php > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/allfreeware.htm
lynx -dump -source http://www.pocketpcsoft.net/php/newresults.php?type=aviation > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/aviation.htm
lynx -dump -source http://www.pocketpcsoft.net/php/newresults.php?type=conf > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/conf.htm
lynx -dump -source http://www.pocketpcsoft.net/php/newresults.php?type=db > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/db.htm
lynx -dump -source http://www.pocketpcsoft.net/php/newresults.php?type=dev > ~/usr/home/applian3/usr/local/etc/httpd/vhosts/gregh.co.uk/ipaqsoft/dev.htm

regards,

greg

Hanslow 28 January 2004 10:11 AM

Probably is because I think ? is used as a single character wildcard. You could try placing the http reference with the ? in in quotes and that might work (although I can't remember which ones would be best to try, "", '' or ``.

[Edited by Hanslow - 1/28/2004 10:11:48 AM]


All times are GMT +1. The time now is 01:01 AM.


© 2024 MH Sub I, LLC dba Internet Brands