> For the complete documentation index, see [llms.txt](https://docs.spotify-sync.jbh.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spotify-sync.jbh.cloud/general/scheduling.md).

# 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

```powershell
$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
