Skip to content

Autoupdate #203

Answered by mattmc3
mrJudahBella asked this question in Q&A
Nov 24, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

There are a few different ways to do what you're looking for. If you have a desktop machine that's always on and you want updates in the background, you could add a cron entry to run your updates at a specific time every week.

For example, you can run crontab -e and add an entry for Monday at noon:

0 12 * * 1 /path/to/a/script/that/runs/antidote_update

If you are on a laptop and are okay with updates running once a week when you launch your shell, you could also simply add something like this to your .zshrc:

# .zshrc stuff before this...

# Init antidote
source /path/to/antidote

# Look for a file telling us it's been over a week since we last updated.
# If found, delete it so we know to…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mrJudahBella
Comment options

@mattmc3
Comment options

@mrJudahBella
Comment options

Answer selected by mrJudahBella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants