Browse Source

feat: add crontab dotbot plugin

master
Ein Verne 6 months ago
parent
commit
2e89f8c4bc
  1. 3
      .gitmodules
  2. 3
      Makefile
  3. 5
      config/crontab.conf.yml
  4. 1
      crontab-dotbot

3
.gitmodules vendored

@ -14,3 +14,6 @@
[submodule "dotbot-snap"]
path = dotbot-snap
url = https://github.com/DrDynamic/dotbot-snap.git
[submodule "crontab-dotbot"]
path = crontab-dotbot
url = https://github.com/fundor333/crontab-dotbot.git

3
Makefile

@ -32,6 +32,9 @@ macos: ## Run macos script
@./mac_bootstrap.sh
@./macos/init_mac.sh
crontab:
@./install --plugin-dir crontab-dotbot -c config/crontab.conf.yml
brew: ## Install brew & cask packages
@./install -c config/packages.conf.yml --plugin-dir dotbot-brew

5
config/crontab.conf.yml

@ -0,0 +1,5 @@
- crontab:
- cron: "*/1 * * * *"
command: mv ~/Downloads/*.md ~/Sync/wiki/WebClip/
- cron: "*/1 * * * *"
command: mv ~/Downloads/Attachments/* ~/Sync/wiki/Attachments/

1
crontab-dotbot

@ -0,0 +1 @@
Subproject commit f6baf0cd37db72be4dbc123438b23c9c255513bb
Loading…
Cancel
Save