Link to home
Start Free TrialLog in
Avatar of sebastiz
sebastiz

asked on

run mysql command as a cron job

i want to run the mysql command line
LOAD DATA INFILE '/usr/freeoutput.txt' INTO TABLE free

as a cron job. How do i set this up. do i save this command as a text file like so:

#/bin/mysqsl

LOAD DATA INFILE '/usr/freeoutput.txt' INTO TABLE free

and run it that way?

Seb


ASKER CERTIFIED SOLUTION
Avatar of Dave_Strydom
Dave_Strydom

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial