Skip to content

introduce new cronjob setup feature#276

Merged
jessebot merged 5 commits intomainfrom
add-cronjob-setup
Oct 20, 2024
Merged

introduce new cronjob setup feature#276
jessebot merged 5 commits intomainfrom
add-cronjob-setup

Conversation

@jessebot
Copy link
Copy Markdown
Owner

@jessebot jessebot commented Oct 20, 2024

you can now include cron in the lists in ~/.config/onboardme/config.yaml:

# steps refer to a specific function in the list of functions we run
steps:
  # mac specific steps
  Darwin:
    - dot_files
    - cron
  # linux specific steps
  Linux:
    - dot_files
    - cron

This will copy the files:

  • ~/.config/cron/root/crontab to /etc/crontab.d/root (or /var/at/tabs/root in macOS)
  • ~/.config/cron/user/crontab to /etc/crontab.d/YOUR_USER (or /var/at/tabs/YOUR_USER in macOS)

also takes care of some dependency updates:

  • Updating distlib (0.3.8 -> 0.3.9)
  • Updating filelock (3.15.4 -> 3.16.1)
  • Updating platformdirs (4.2.2 -> 4.3.6)
  • Updating identify (2.6.0 -> 2.6.1)
  • Updating pyyaml (6.0.1 -> 6.0.2)
  • Updating virtualenv (20.26.3 -> 20.27.0)
  • Updating pre-commit (3.7.1 -> 3.8.0)
  • Updating rich (13.7.1 -> 13.9.2)
  • Updating xdg-base-dirs (6.0.1 -> 6.0.2)

@jessebot jessebot requested a review from cloudymax October 20, 2024 21:52
@jessebot jessebot self-assigned this Oct 20, 2024
@jessebot jessebot added ⏰ Cron dependencies Pull requests that update a dependency file labels Oct 20, 2024
@jessebot jessebot merged commit 66b2774 into main Oct 20, 2024
@jessebot jessebot deleted the add-cronjob-setup branch October 20, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⏰ Cron dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant