Skip to content

Commit

Permalink
feat: add crontab dotbot plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
einverne committed May 7, 2024
1 parent d1a813c commit 2e89f8c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions config/crontab.conf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- crontab:
- cron: "*/1 * * * *"
command: mv ~/Downloads/*.md ~/Sync/wiki/WebClip/
- cron: "*/1 * * * *"
command: mv ~/Downloads/Attachments/* ~/Sync/wiki/Attachments/
1 change: 1 addition & 0 deletions crontab-dotbot
Submodule crontab-dotbot added at f6baf0

0 comments on commit 2e89f8c

Please sign in to comment.