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:
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.logI 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
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
YellowKard