In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains the "using bat to achieve scheduled task batch file code sharing", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "using bat to achieve scheduled task batch file code sharing" it!
@ echo off set txt1=%date:~0,4%:: current year set txt2=%date:~5,2%:: current month set txt3=%date:~8,2%:: current day set txt4=%time:~0,2%:: current hour set txt5=%time:~3,2%:: current minute set txt6=%time:~6,2%:: current second set date=%txt1%%txt2%%txt3% set time=%txt4%%txt5%%txt6% echo- -- echo-performing MySQL database backup-echo-echo... Echo... Echo Export Database... If exist% date%.sql del% date%.sql c:\ Progr*\ mysql\ bin\ mysqldump-- add-drop-table-c-u root-Pmurh localhost dbname > e:\% date%.sql echo. Echo... If exist dump%date%.7z del dump%date%.7z echo compressed file... 7za.exe a-t7z dump%date%.7z% date%.sql-mx9 echo... Echo... Echo deletes the temporary file del% date%.sql echo... Echo... Echo backup complete! Pause thank you for your reading, the above is "using bat to achieve scheduled task batch file code sharing" of the content, after the study of this article, I believe that you use bat to achieve scheduled task batch file code sharing of this problem has a deeper understanding, the specific use of the need for you to practice verification. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.