Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce new cronjob setup feature #276

Merged
merged 5 commits into from
Oct 20, 2024
Merged

introduce new cronjob setup feature #276

merged 5 commits into from
Oct 20, 2024

Conversation

jessebot
Copy link
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