Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Any cron/UNIX script experts?

Thread Tools
 
Search this Thread
 
Old 28 January 2004, 10:07 AM
  #1  
gregh
Scooby Regular
Thread Starter
 
gregh's Avatar
 
Join Date: Dec 1999
Posts: 3,360
Likes: 0
Received 0 Likes on 0 Posts
Post

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
Old 28 January 2004, 10:11 AM
  #2  
Hanslow
Scooby Regular
 
Hanslow's Avatar
 
Join Date: Mar 2001
Location: Derbyshire
Posts: 4,496
Likes: 0
Received 0 Likes on 0 Posts
Post

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]
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
roysc
ScoobyNet General
2
16 September 2015 09:10 AM
The Joshua Tree
Computer & Technology Related
18
11 September 2015 09:24 PM
Puff The Magic Wagon!
Non Scooby Related
4
01 October 2001 05:33 PM
Squizz
Non Scooby Related
2
27 September 2001 03:44 PM
Puff The Magic Wagon!
Non Scooby Related
3
31 August 2001 04:25 PM



Quick Reply: Any cron/UNIX script experts?



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