Recurring Calendar Entries

53 views
Skip to first unread message

Antony Street

unread,
Nov 11, 2016, 2:19:23 AM11/11/16
to GAM for G Suite
I wanted to add repeating calendar entries to our student's calendars. Looking at the GAM Cheatsheet, I noticed the 'recurrence' option. I cannot find any documentation about this option and so I wondered if this option truly exists, and if so, what are the valid arguments? Does it even do what the name suggests to me?

Adding the option without any arguments gives:

astreet@gam:~/GAutomate/Calendar$ gam calendar x...@domain.net addevent location "D6" summary "Form Class" description "TIMETABLE::STREETEM::MONDAY::MODULE1" start 2016-11-14T00:45:00.000Z end 2016-11-14T01:00:00.000Z noreminders recurrence
Python 2.7.12 64-bit final
google-api-python-client 1.5.2
Linux-4.2.0-42-generic-x86_64-with-debian-jessie-sid x86_64
Path: /home/astreet/gam_source/4.02/gam

Usage: gam [OPTIONS]...

GAM. Retrieve or set Google Apps domain,
user, group and alias settings. Exhaustive list of commands

Examples:
gam info domain
gam create user jsmith firstname John lastname Smith password secretpass
gam update user jsmith suspended on
gam.exe update group announcements add member jsmith
...


astreet@gam:~/GAutomate/Calendar$

I have tried adding options like 'Weekly', 1 and others but they all give an error:

ERROR: 400: Invalid Value - invalid

If anyone has any knowledge on this, it would be ever appreciated.

Antony Street

unread,
Nov 13, 2016, 9:44:55 AM11/13/16
to GAM for G Suite
UPDATE:

Reading the RFC at https://tools.ietf.org/html/rfc5545#section-3.8.5 I tested adding:

recurrence "RRULE:FREQ=WEEKLY;COUNT=10"


This successfully added a weekly recurrence for 10 weeks.
Reply all
Reply to author
Forward
0 new messages