have a second homepage for my links DB which builds a second 'stripped down' links main page:
I build my links via cron at the moment
heres my little bash script
#!/bin/bash
echo "Today is `date`"
echo ""
echo ""
echo "Building Links"
echo ""
# Rebuild Links pages
# normal cron below
/home/cpfc/www/links/cgi-bin/admin/nph-build.cgi
staggered=1&auto=1
echo "Links Built"
works like a charm :)
My problem is that to update my second homepage I need to run the staggered build.
When I try to cron the staggered build it faiils- I suspect because I pass a query string:
#!/bin/bash
echo "Today is `date`"
echo ""
echo ""
echo "Building Links"
echo ""
# Rebuild Links pages
# normal cron below
#/home/cpfc/www/links/cgi-bin/admin/nph-build.cgi
# build staggered to include second homepage
/home/cpfc/www/links/cgi-bin/admin/nph-build.cgi?staggered=1&auto=1
echo "Links Built"
heres what happens when I try to run it as a test
./buildlinks2
Today is Thu Mar 22 11:48:21 EST 2001
Building Links
Links Built
./buildlinks2: /home/cpfc/www/links/cgi-bin/admin/nph-build.cgi?staggered=1: No
such file or directory
I build my links via cron at the moment
heres my little bash script
#!/bin/bash
echo "Today is `date`"
echo ""
echo ""
echo "Building Links"
echo ""
# Rebuild Links pages
# normal cron below
/home/cpfc/www/links/cgi-bin/admin/nph-build.cgi
staggered=1&auto=1
echo "Links Built"
works like a charm :)
My problem is that to update my second homepage I need to run the staggered build.
When I try to cron the staggered build it faiils- I suspect because I pass a query string:
#!/bin/bash
echo "Today is `date`"
echo ""
echo ""
echo "Building Links"
echo ""
# Rebuild Links pages
# normal cron below
#/home/cpfc/www/links/cgi-bin/admin/nph-build.cgi
# build staggered to include second homepage
/home/cpfc/www/links/cgi-bin/admin/nph-build.cgi?staggered=1&auto=1
echo "Links Built"
heres what happens when I try to run it as a test
./buildlinks2
Today is Thu Mar 22 11:48:21 EST 2001
Building Links
Links Built
./buildlinks2: /home/cpfc/www/links/cgi-bin/admin/nph-build.cgi?staggered=1: No
such file or directory

