ドキュメント セットをダウンロードするのに 48 時間かかることをクライアントに通知し、48 時間後に Google サイトへのクライアント アクセスを削除する機能を探しています。時限イベントハンドラーは実際にはこの機能を提供していないようです??
function Remove_people( site_name, client_email ) {
var domain = "mydomain.com" ;
var site = SitesApp.getSite(domain, site_name );
site.removeEditor( client_email );
// Some counter-timer function???
the_url = site.getUrl();
//email a link to the client
MailApp.sendEmail(client_email,
"Your Documents are ready!",
"Your documents are accessible for 48hrs at the url below: \n\n " +
the_url + "\n\n",
{name:"My Name"});*/
Logger.log("Done!");
}