Scheduling
Assumes you have successfully Spotify authorized the profile or config you are scheduling.
Linux
Edit cron
crontab -e
Run auto mode everyday at 2pm
0 14 * * * /usr/bin/python3 -m spotify_sync run auto --profile MyFirstProfile 2>&1
Windows (PowerShell)
Get spotify_sync.exe path
(Get-Command spotify_sync).Path
Run auto mode everyday at 2pm
$action = New-ScheduledTaskAction -Execute 'PATH_FROM_ABOVE' -Argument 'run auto --profile myFirstProfile'
$trigger = New-ScheduledTaskTrigger -Daily -At 2pm
Register-ScheduledTask -Action $action -Trigger $trigger -TaskName "spotify_sync" -Description "Download Spotify songs for myFirstPreofile profile" -
MacOS
Last updated