Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

auto-bot

Bots run automatically

编辑 crontab 文件:

crontab -e

添加定时任务: 在打开的编辑器中,添加一行来指定定时任务。

30 9 * * * /path/to/your/script.sh 2>&1

验证 crontab 文件: 你可以通过以下命令查看当前用户的 cron 任务列表,确认你的任务是否已经添加成功:

crontab -l

确保你的脚本有可执行权限,可以通过以下命令添加权限:

chmod +x /path/to/your/script.sh

Operation not permitted: you have to add cron as "parent" app to the user's Security & Privacy > Privacy > Full Disk Access apps/execs.

  1. click the + button
  2. hit ⌘⇧G
  3. enter /usr/sbin
  4. double click the cron file.

代理设置

科学上网,对ssh设置代理,在ssh配置文件(~/.ssh/config)中添加以下内容:

Host github.com
    HostName ssh.github.com
    Port 443
    User git
    ProxyCommand nc -v -x 127.0.0.1:1080 %h %p

VIM 高亮

修改 vim 的配色方案,在 ~/.vimrc 文件中添加以下内容:

syntax on
set nu!
set autoindent

About

Bots run automatically

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages