Fork me on GitHub

“A personal music server
for everyone”

Scheduling

The scheduling functionality allows you to control how often Sockso scans your collection for new/updated/removed tracks. If you have a very large collection you may want to make this less frequent than the default (which is every 30 minutes).

Simple Scheduling (default)

By default Sockso uses a very simple scheduling technique, and just runs a new scan every 30 minutes. You can alter this frequency through the GUI on the General panel.

Cron Scheduling

If you have demanding needs, or just want to take more control over scanning then Sockso provides a cron like scheduler. This allows you to specify the frequency for collection scans using cron syntax.

Enabling

To enable this just enter the following command into the console:

propset scheduler cron

To revert back to simple scheduling just set this back to simple instead of cron.

NB: In Sockso versions 1.2.6 and below you will need to restart Sockso any time you change the scheduler for it to take effect.

Configuring

You can now configure the cron scheduler (changes take effect straight away when it is running) using the following property:

propset scheduler.cron.tab */30 * * * *

The above command sets scanning to run every 30 minutes. For more information about how to use cron see the wikipedia article. You can also use the special crontab @ commands, like this:

propset scheduler.cron.tab @hourly

Manual Scheduling

If you'd like to never have indexing run automatically you can use the manual scheduler.

propset scheduler manual

With this scheduler running you'll have to manually run the scan.

Comments

  • Sakthikkumaran Vijayaraghavan said:
    Good one. Is it possible to schedule the playlist? I mean CRON job of playing a playlist at a specified time.
    2013-08-02 13:21:33

Post Comment

Just enter your name, fill out the easy captcha and enter your comments - it'll appear on the site right away. If you enter your email it will just be linked from your name so people can get in touch with you about your comment, so it's optional.

Sockso Community!

Sockso comes with the ability to be instantly part of the Sockso Community. So install now to to take part!

If you love using Sockso and would like to give a little back, try a donation to help out and support open source development.

Latest News & Releases RSS Icon

12th May

Sockso 1.5.3 - Bug fix release - fixes broken folder browsing and related artists.

29th April

Sockso 1.5.2 - Bug fix for broken local cover art, and updated French translation.

14th March 2012

Sockso 1.5.1 - Bug fixes for path security hole, API access, and encoded pluses. Along with updated Italian translation, adding ability to extract cover art from ID3 tags.

10th December

Sockso 1.5 - Added ability to add arbitrary meta tags, JPlayer support, HTTP Range header support, bug fixes, and finalised API v1.0

25th July

Sockso 1.4.2 - Fix for fetching cover artwork from Amazon.

24th July

Sockso 1.4.1 - Fixes for unicode output issue, and strict JSON API issue with single quotes.

23rd July

Sockso 1.4 - Added a JSON API to support developing applications on top of Sockso.

8th July

Posted screencast of *VERY* early version of new Sockso iPhone app. Feedback appreciated in the forums.

2nd July

Sockso 1.3.5 - Fix for problem on OSX where Sockso would not start, other minor bug fixes for Flac handling.

26th June

Sockso 1.3.4 - New HTML5 Player for iPad/iOS/etc support from nguillaumin, new 'tinygreen' skin from Simplify, and some bug fixes.

4th May

Sockso 1.3.3 - Album years now shown, Turkish translation added, and MP3 tag library updated (all thanks to badZeppelin!), some bug fixes to ajax page loading.

2nd April

Sockso 1.3.2 - Users can now require approval when registering, and updated ajaxified web interface with embedded player now default.

23rd March

Sockso 1.3.1 - Fix for missing 'colscan' command from console, moved optional libraries location (to upgrade rename your optionals folder from 'lib-opt' to 'lib/opt', and a bug fix for invalid URL characters breaking some playlist files.

17th March

Sockso 1.3 - Created ability to add servers to the new Sockso Community, and you can now run behind Apache without needing a VirtualHost (thanks to LightGlitch!)

5th February

Sockso 1.2.7 - Fix for broken javascript in 1.2.6.

30th January 2011

Sockso 1.2.6 (broken) - Fix for selecting the playlist in some browsers, and added new web admin console.

17th December

Sockso 1.2.5 - Minor bug fix for adding items to the playlist when browsing folders.

10th April

Sockso 1.2.4 - Patches from Will to improve HTTP/HTTPS streaming performance, and HTML compliance, improved music tree in GUI to cope with any size collections, hidden files now ignored on indexing, and some other bugs.

8th February

Sockso 1.2.3 - Fixed broken 1.2.2 release.

Linux Logo Windows Logo OSX Logo