Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodically execute calendar sync #60

Open
a-t-0 opened this issue Aug 2, 2021 · 0 comments
Open

Periodically execute calendar sync #60

a-t-0 opened this issue Aug 2, 2021 · 0 comments

Comments

@a-t-0
Copy link
Contributor

a-t-0 commented Aug 2, 2021

      <p>Write a cronjob that executes the following commands for tasks with projects:</p>
  1. Browse to the folder with calendar synchronization files.
cd ~/maintenance/gCal/

1.a Loop through all tasks
1.b Identify/list all projects, (e.g. uni.int.as and uni.int.ex as different projects).
1.c Loop through list with all projects
1.d Assign the project (name) as tag to all tasks in that project.

task status:pending proj:uni.int modify +uni.int
task status:pending proj:uni.rep modify +uni.rep
  1. Then sync all tasks with (google) calendar using the tags to calendars.
    2.a Note, distinguish calendars up to 2 dots in the project name. E.g. both tasks uni.int.as and uni.int.ex go into a (new) calendar named: TW uni.int.
    ./tw_gcal_sync -c "TW intern" -t "uni.int"
    ./tw_gcal_sync -c "TW represInterac" -t "uni.rep"

3. If you want you can expand this method by asking the user whether they want custom calendar names e.g. TW intern in stead of `TW uni.int`. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant