alfredapp / google-drive-workflow

Alfred Workflow for Google Drive
BSD 3-Clause "New" or "Revised" License
168 stars 8 forks source link

Scheduling the update process? #24

Closed s3frank closed 2 years ago

s3frank commented 2 years ago

Hi there, I would like to know if it is possible to schedule the update run. I have been caught by a CPU spike at the wrong time of my day and found it was the ruby process of this workflow that I believe is doing an update to the WF or the cache or both. Is there anyway I can configure this to not happen randomly during my day and instead have it done overnight? My machine is never off...well almost never off. Thanks!

vitorgalvao commented 2 years ago

It’s not random, it happens at 8 p.m. To change it, edit these lines in ~/Library/LaunchAgents/com.alfredapp.launchd.googledrivecache.plist. Then reboot.

s3frank commented 2 years ago

Thanks for the fast response. Do I need to restart anything, reload anything after changing the file or will it automatically get picked up?

On Thu, Jan 20, 2022 at 8:24 PM Vítor Galvão @.***> wrote:

Closed #24 https://github.com/alfredapp/google-drive-workflow/issues/24.

— Reply to this email directly, view it on GitHub https://github.com/alfredapp/google-drive-workflow/issues/24#event-5924467569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQW7CTZK6OFG6QUSJY5V3DUW75I5ANCNFSM5MMS2FVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

-- Best regards,

-FF

vitorgalvao commented 2 years ago

You need to reboot your machine.