Systemd Timer 定时任务

Systemd Timer 定时任务 1 sudo vim /usr/lib/systemd/system/task.timer 1 2 3 4 5 6 7 8 9 10 [Unit] Description=Task Description [Timer] OnCalendar=*-*-* 06:00:00 AccuracySec=1s Unit=lock.service [Install] WantedBy=multi-user.target be carefully with AccuracySec, without it your task will be delayed for tens of seconds Specify the accuracy the timer shall elapse with. Defaults to 1min. The timer is scheduled to elapse within a time window starting with the time specified in OnCalendar=, OnActiveSec=, OnBootSec=, OnStartupSec=, OnUnitActiveSec= or OnUnitInactiveSec= and ending the time configured with AccuracySec= later....

五月 12, 2023 · Sheffery Shake

Powershell 代理设置

初始化文件 %USERPROFILE%/Documents/WindowsPowerShell/Microsoft.PowerShell_profile 1 2 3 4 5 6 7 8 9 Function proxy { $env:HTTP_PROXY = "http://IP:PORT" $env:HTTPS_PROXY = "http://IP:PORT" } Function noproxy { $env:HTTP_PROXY = "" $env:HTTPS_PROXY = "" } 以管理员模式更改执行策略 1 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned Ctrl + Shift + APP 以管理员身份运行

三月 6, 2023 · Sheffery Shake

JVM

JVM常用启动参数

一月 4, 2023 · Sheffery Shake

Mardown

Markdown常用标签

十二月 29, 2022 · Sheffery Shake