well if it is an linux/unix box the host is running and you have shell access you can slap it into cron by typing the command
crontab -e
and then
/usr/local/mysql/bin/mysql -h <hostname or ip> -u <username> --password=<password> <full path to sql file>
That way you only have to create one file with the sql in it.
if the host is running an windows box then i have no idea....
Fox_m
|