Update Moode Library w/ cron

To schedule the moOde library update to happen every night, you can use a cron job with the ‘mpc update’ command. Here’s how to set it up:

  1. Enable and start the cron service on your moOde system:
sudo systemctl enable cron
sudo systemctl start cron
  1. Open the crontab file for editing:
sudo crontab -e
  1. Add the following line to schedule the update every night at midnight:
0 0 * * * /usr/bin/mpc update

This cron job will run the ‘mpc update’ command at 00:00 (midnight) every day, which will update the moOde library[2].

Replace with the directory you want to update[2].

Remember to save and exit the crontab file after making these changes. The library update will now occur automatically every night at midnight.

Posted

in

, , ,

Comments

One response to “Update Moode Library w/ cron”

  1. Jim Willis

    @posts Sharing this here in case anyone else is struggling to figure out how to auto-update Moode audio libraries. shocking how powerful mpc audio tool is from the command line.

    #selfhosted #hifi

To respond on your own website, enter the URL of your response which should contain a link to this post’s permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Find out more about Webmentions.)

Current Spins

Top Albums

Check out my album Set It All Down on your favorite streaming service.


Posts Worth Reading:


Letterboxd


Reading Notes

  • Who profits from our constant state of dissatisfaction? The answer, of course, is painfully obvious. Every industry that sells a solution to a problem you […]
  • the shifts have been in place for awhile. A certain kind of book—say those reviewed in the NYRB—will become like opera, or theater, or ballet, […]
  • • No more struggle: “Whatever arises, train again and again in seeing it for what it is. The innermost essence of mind is without bias. […]
  • . The EU invokes a mechanism called the precautionary principle in cases where an innovation, such as GMOs, has not yet been sufficiently researched for […]
  • The real problem, in my mind, isn’t in the nature of this particular Venture-Capital operation. Because the whole raison-d’etre of Venture Capital is to make […]

Saved Links

RSS Error: A feed could not be found at `https://links.jimwillis.org/feed/atom?`; the status code is `404` and content-type is `text/html; charset=utf-8`