(solved) Working cronjob?


#1

just installed Beets and it works perfect (Ubuntu 18 LTS server).
I would like to set up a cronjob to scan my import-folder every hour for new music. Anyone has working script or cron-job to help me out?

i tried (with sudo crontab-e)

* */1 * * * /usr/bin/beet import -q /media/beets_import/

but it is not working


#2

Is beets configured to run the import in quiet mode? Otherwise, it might be waiting for input.

Cronjobs are notoriously hard to debug, but maybe you can find a way to get the output of the command to see what’s going wrong.


#3

just added the “-q” for quiet-mode. i will try to get some log for it.


#4

solved!

* */1 * * * /usr/bin/beet import -q /media/beets_import/

is working - just skipping the folder, because it needs input :grinning: