Coder Social home page Coder Social logo

sync-my-calendars's Introduction

sync-my-calendars

Table of Contents

Overview

Goals :

  • Get events from Bluemind and store them as ical calendar files.
  • Send ical files to an FTP server.

System requirements

  • bash
  • wget
  • a working SMTP server

Installation

Install in a virtualenv

Download sync-my-calendars and use virtualenv to install the module : :: sudo apt-get install python-virtualenv cd sync-my-calendars chmod +x ./scripts/install.sh ./scripts/install.sh

source bin/activate (sync-my-calendars) python >>> import sync_my_calendars

Configuration

Create an edit the configuration file : :: (sync-my-calendars) cd src/sync_my_calendars/ (sync-my-calendars) cp config.py.sample config.py (sync-my-calendars) vi config.py

Add a cron JOB

Create a file <where-you-want>/sync_my_calendars.sh with the following content (don't forget to adapt <egg-directory>).. :: #!/bin/bash cd <egg-directory> scripts/sync.sh

Change permissions settings for the cron bash script : :: chmod +x <where-you-want>/sync_my_calendars.sh

Edit your personal crontab : :: crontab -e

And and adapt the following lines : :: # Launch sync_my_calendars script every 1 hour 0 * * * * <where-you-want>/sync_my_calendars.sh >> /tmp/sync_my_calendars.cron.log

Credits

Source code

Source code is hosted on Github.

How to contribute and submit a patch ?

Source code and an issue tracker is hosted on Github.

sync-my-calendars's People

Contributors

sylvainb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.