📖
spotify_sync
  • Welcome to the docs
  • Home
    • Intro
    • Quick start
  • Configuration
    • Overview
    • Schema
    • Profiles
  • General
    • Scheduling
    • Backup and restore
    • Migrate from older versions
    • FAQ
  • Guides
    • Getting a Deezer arl
    • Setting up a Spotify oauth application
Powered by GitBook
On this page
  • Linux
  • Windows (PowerShell)
  • MacOS
  1. General

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

PreviousProfilesNextBackup and restore

Last updated 2 years ago