Calwrapper is a file intended to be run manually that will periodically call vdirsyncer to sync locally a remote calDAV .ics store. It stores the username and password in environmental variables so it isn't the most secure, but it' more secure than storing it in a plainttext file. To install, run make.