-
bat 部分写法
2018-09-28 20:20:26 | 分类:
Other
| 标签:
阅读(263)评论(0)
-
@echo off
:START
echo 1. 定时关机
echo 2. 定时重启
echo 3. 取消关机
set /p ch=
if %ch%==1 goto shutdown
if %ch%==2 goto restart;
if %ch%==3 goto cancel
echo 选项错误,请从重新选择
pause > nul
cls
goto START
:shutdown
cls
echo *******定时关机*******
echo.
echo 输入定时关机时间,单位:秒
set /p time=
shutdown -s -t %time%
goto START
:restart
cls
echo *******定时重启*******
echo.
echo 输入定时重启时间,单位:秒
set /p time=
shutdown -r -t %time%
goto START
:cancel
cls
echo *******取消关机*******
echo.
echo 按任意键取消关机
pause > nul
shutdown -a
goto START
来源:https://mxecy.cn/191
-
上一篇:ubuntu使用nmap查询端口
下一篇:ThinkPHP5 的视图$view->fetch()和$view->display()的区别
猜你喜欢
基本
文件
流程
错误
SQL
调试1
- 请求信息 : 2019-02-20 23:42:12 HTTP/1.1 GET : www.19aq.com/article-332.html
- 运行时间 : 0.166653s [ 吞吐率:6.00req/s ] 内存消耗:2,782.43kb 文件加载:63
- 查询信息 : 6 queries 1 writes
- 缓存信息 : 5 reads,2 writes
- 配置加载 : 64
- /www/wwwroot/www.19aq.com/public/index.php ( 0.75 KB )
- /www/wwwroot/www.19aq.com/thinkphp/start.php ( 0.71 KB )
- /www/wwwroot/www.19aq.com/thinkphp/base.php ( 2.60 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Loader.php ( 18.92 KB )
- /www/wwwroot/www.19aq.com/vendor/composer/autoload_namespaces.php ( 0.21 KB )
- /www/wwwroot/www.19aq.com/vendor/composer/autoload_psr4.php ( 1.72 KB )
- /www/wwwroot/www.19aq.com/vendor/composer/autoload_classmap.php ( 44.95 KB )
- /www/wwwroot/www.19aq.com/vendor/composer/autoload_files.php ( 0.71 KB )
- /www/wwwroot/www.19aq.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 4.29 KB )
- /www/wwwroot/www.19aq.com/vendor/topthink/think-helper/src/helper.php ( 2.88 KB )
- /www/wwwroot/www.19aq.com/vendor/topthink/think-captcha/src/helper.php ( 1.59 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Route.php ( 58.26 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Config.php ( 5.86 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Validate.php ( 39.02 KB )
- /www/wwwroot/www.19aq.com/vendor/topthink/think-migration/src/config.php ( 0.83 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Console.php ( 20.52 KB )
- /www/wwwroot/www.19aq.com/vendor/topthink/think-queue/src/common.php ( 1.19 KB )
- /www/wwwroot/www.19aq.com/vendor/topthink/think-testing/src/config.php ( 0.65 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Error.php ( 3.47 KB )
- /www/wwwroot/www.19aq.com/thinkphp/convention.php ( 10.03 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/App.php ( 20.06 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Request.php ( 48.13 KB )
- /www/wwwroot/www.19aq.com/application/config.php ( 9.04 KB )
- /www/wwwroot/www.19aq.com/application/database.php ( 1.90 KB )
- /www/wwwroot/www.19aq.com/application/extra/CCPRestSmsSDK.php ( 6.49 KB )
- /www/wwwroot/www.19aq.com/application/extra/SendTemplateSMS.php ( 3.40 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Hook.php ( 4.63 KB )
- /www/wwwroot/www.19aq.com/application/tags.php ( 0.96 KB )
- /www/wwwroot/www.19aq.com/application/common.php ( 0.65 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Env.php ( 1.21 KB )
- /www/wwwroot/www.19aq.com/thinkphp/helper.php ( 17.29 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Lang.php ( 6.74 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Log.php ( 5.63 KB )
- /www/wwwroot/www.19aq.com/thinkphp/lang/zh-cn.php ( 3.78 KB )
- /www/wwwroot/www.19aq.com/application/route.php ( 1.74 KB )
- /www/wwwroot/www.19aq.com/application/index/controller/Index.php ( 4.08 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Controller.php ( 5.99 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/traits/controller/Jump.php ( 4.82 KB )
- /www/wwwroot/www.19aq.com/application/index/model/Link.php ( 0.70 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Model.php ( 64.56 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Db.php ( 6.39 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/db/connector/Mysql.php ( 3.82 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/db/Connection.php ( 28.96 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/db/Query.php ( 86.80 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/db/builder/Mysql.php ( 2.09 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/db/Builder.php ( 29.64 KB )
- /www/wwwroot/www.19aq.com/application/index/model/ArticleRecord.php ( 2.39 KB )
- /www/wwwroot/www.19aq.com/application/index/model/Article.php ( 6.37 KB )
- /www/wwwroot/www.19aq.com/application/index/model/ArticleTag.php ( 1.56 KB )
- /www/wwwroot/www.19aq.com/application/index/model/ArticleSort.php ( 1.17 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/View.php ( 6.63 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/view/driver/Think.php ( 5.45 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Template.php ( 45.34 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/template/driver/File.php ( 2.17 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Cache.php ( 5.96 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/cache/driver/File.php ( 6.73 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/cache/Driver.php ( 5.31 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Cookie.php ( 7.04 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Debug.php ( 6.85 KB )
- /www/wwwroot/www.19aq.com/runtime/temp/02150c3824809567486329ee1472449c.php ( 5.52 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Url.php ( 12.65 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/Response.php ( 8.32 KB )
- /www/wwwroot/www.19aq.com/thinkphp/library/think/debug/Html.php ( 4.16 KB )
- [ LANG ] /www/wwwroot/www.19aq.com/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'index',
2 => 'article',
),
'convert' => false,
)
- [ HEADER ] array (
'accept-encoding' => 'gzip',
'connection' => 'Keep-Alive',
'host' => 'www.19aq.com',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'user-agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
'id' => '332',
)
- [ DB ] INIT mysql
- [ RUN ] app\index\controller\Index->article[ /www/wwwroot/www.19aq.com/application/index/controller/Index.php ]
- [ CACHE ] INIT File
- [ VIEW ] /www/wwwroot/www.19aq.com/public/../application/index/view/index/article.html [ array (
0 => 'tag',
1 => 'sort',
2 => 'result',
) ]
- [ DB ] CONNECT:[ UseTime:0.093782s ] mysql:dbname=blog_19aq_com;host=blog.19aq.com;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `think_article` [ RunTime:0.001375s ]
- [ SQL ] SELECT * FROM `think_article` WHERE `id` = 332 AND `password` = '' LIMIT 1 [ RunTime:0.001034s ]
- [ SQL ] UPDATE `think_article` SET `views`=views+1 WHERE `id` = 332 [ RunTime:0.000804s ]
- [ SQL ] SHOW COLUMNS FROM `think_article_sort` [ RunTime:0.001475s ]
- [ SQL ] SELECT * FROM `think_article_sort` WHERE `sid` = 999 LIMIT 1 [ RunTime:0.000811s ]
- [ SQL ] SHOW COLUMNS FROM `think_article_tag` [ RunTime:0.001581s ]
- [ SQL ] SELECT * FROM `think_article_tag` WHERE ( find_in_set(332,gid) ) [ RunTime:0.001812s ]

0.167237s
发表评论: