Archived
510 B
510 B
Set up hf-cli for automatic daily downloads
To enable daily runs, you first need to generate a config.json file defining what to download and where to put it:
hf-cli --setup
then you need to enable the timer for the user and enable lingering, so the timer is executed even when the user is not logged in:
systemctl --user enable hf-cli.timer hf-cli.service
loginctl enable-linger
You can test the service by running it manually:
systemctl --user start hf-cli.service