1.0.0 • Published 6 years ago

@cloud-archiver/tasks v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

cloud-archiver

Cloud archiver helps you to backup data from different cloud services. This plugin makes it possible to run multiple commands at once which is helpfull if you want to run your backups using a scheduler like cron or systemd-timers.

setup

Install the plugin into your cloud archiver configuration directory.

$ npm install --save @cloud-archiver/tasks

Edit your configuration to load the plugin and define your tasks.

plugins: [
// ...
  require('@cloud-archiver/tasks')
// ...
]

tasks: {
  daily: [
    'spotify:playlists some_user',
    'spotity:playlists some_other_user'
  ]
}

All commands are interpreted as cloud-archiver sub commands. To run them use the task:run command.

$ node_modules/.bin/cloud-archiver task:run daily

license

MIT