Scheduled Audits
Set up automatic weekly audits to keep your Drive permissions monitored.
Setting Up Weekly Audits
Automate your Drive audits to run every week:
- Open your Google Sheet with DriveAuditr
- Go to Add-ons → DriveAuditr → Setup Weekly Schedule
- Click "Yes" to confirm
- The audit will now run automatically every Monday at 6:00 AM
What Happens
When the scheduled audit runs:
- Automatically starts at the scheduled time
- Runs in the background (no notification)
- Updates your audit sheets with new data
- Overwrites previous audit results
- Continues until complete (even for large Drives)
You'll see fresh audit data when you open your sheet after Monday morning.
Checking Status
To see if your scheduled audit is set up:
- Go to Extensions → Apps Script
- Click on the clock icon (Triggers) in the left sidebar
- Look for a trigger named
runDriveAudit
Removing the Schedule
To stop automatic audits:
- Go to Add-ons → DriveAuditr → Remove Schedule
- The weekly audit will be cancelled
- You can still run audits manually anytime
Manual Audits
You can always run audits manually:
- Add-ons → DriveAuditr → Run Audit Now
- Useful for:
- Testing the add-on
- Getting immediate results
- Running audits more frequently than weekly
Custom Schedule
Want a different schedule? You can customize:
Change the Day
Edit the script to run on different days:
- Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
Change the Time
Edit the script to run at different hours:
- Any hour from 0 (midnight) to 23 (11 PM)
Daily Audits
Set up daily audits instead of weekly.
To customize: Contact us at driveauditr@terrydjony.com for instructions, or check the code in the Apps Script editor.
Best Practices
Recommended Schedule
- Small teams (under 10 people): Weekly or bi-weekly
- Medium teams (10-50 people): Weekly
- Large organizations (50+ people): Weekly or daily
Save Historical Data
Keep track of changes over time:
- After each audit, download the results
- Save with date in filename (e.g., "Drive_Audit_2025-10-29")
- Compare audits to see changes
- Track permission trends
Review Results Regularly
Don't just collect data - use it:
- Schedule time to review each week
- Look for new public shares
- Check for external access
- Remove outdated permissions
Troubleshooting
Schedule Not Running
If your scheduled audit doesn't run:
- Check if the trigger still exists (Extensions → Apps Script → Triggers)
- Re-create the schedule from the Add-ons menu
- Ensure you've authorized the add-on
- Check Apps Script execution logs for errors
Audit Failed
If a scheduled audit fails:
- Check the Audit Status sheet for error message
- Try running manually to see specific error
- Contact support if the issue persists
Multiple Schedules
If you accidentally created multiple schedules:
- Go to Extensions → Apps Script → Triggers
- Delete extra triggers manually
- Keep only one
runDriveAudittrigger
Limitations
Google Apps Script Limits
Be aware of these Google limits:
- Published add-ons: Must use 1-hour continuation intervals
- Execution time: Maximum 6 minutes per run
- Daily triggers: Limited number per day
For large Drives, the audit will run in batches automatically until complete.
Trigger Reliability
Scheduled triggers are generally reliable but:
- May occasionally fail due to Google service issues
- May be delayed by a few minutes
- Require you to stay authorized
Alternative: Manual Audits
If scheduled audits don't fit your needs:
- Run audits manually when needed
- Set calendar reminders
- Delegate to team member
- Run on-demand when you need fresh data
Need Help?
Questions about scheduled audits? Contact us:
- Email: driveauditr@terrydjony.com
- Response time: 1-2 business days