If you're running Linux, why not use cron?
Possible solution:
Generate a script file containg your mysql command i.e.
load data infile "flattext.txt" fields terminated by "," ;
and then put an entry in crontab with the cron command as
mysql < (path_to_ur_script)/my_upload_script
Cron can be set to run whenever you like and with whatever interval you like (down to about a 1 second timeslice).
Cheers
Justin