Hi
For one of my website, I have a sql file that I pass every day in my mysql database with a cronjob. In addition, I would like to date fields in the sql file that I get before doing the import.
- The sql is on the Internet. I would therefore:
1 - download.
2 - Add the file a field day with today's date:
A line of file:
I want to turn into:INSERT INTO `x_wd` VALUES (1856,1,352,1,15847, 'D)', 594 'ssdgfdp', 59, 'BO', 761);
and then move the new file in my database.INSERT INTO `x_wd` VALUES (1583,1,345,1,11478, 'D)', 594 'sesdgp', 59, 'BO', 761,'09/12');
I am not familiar with crontab, then all assistance will be welcome . Thank you in advance
Bookmarks