Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Somethings wrong with my cron job

Quote Reply
Somethings wrong with my cron job
I know cron jobs have been discussed a lot throughout this forum, I searched and couldn't find anything for my case...

I'm trying to get the auto build to work and currently unsuccessful, here is my current code for the cron job:
Code:
# Remove backup and new files before rebuild

touch /www/f/fullworm/cgi-bin/files-n-links/admin/backup/junk

touch /www/f/fullworm/htdocs/files-n-links/New/junk

rm /www/f/fullworm/cgi-bin/files-n-links/admin/backup/*

rm /www/f/fullworm/htdocs/files-n-links/New/*



# Rebuild Links pages and log actions

/www/f/fullworm/cgi-bin/files-n-links/admin/nph-build.cgi > /www/f/fullworm/cgi-bin/files-n-links/admin/logs/build_links.log
I was wondering what the touch command does, as I've look in the backup directory and all files are still there (so I know the script hasn't got that far).

YellowKard
Subject Author Views Date
Thread Somethings wrong with my cron job YellowKard 1661 Jan 10, 2001, 6:13 PM
Post Re: Somethings wrong with my cron job
Thomas. 1609 Jan 10, 2001, 6:40 PM
Post Re: Somethings wrong with my cron job
Stealth 1610 Jan 10, 2001, 6:54 PM