(solved) Working cronjob?

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

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.

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


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

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