Skip to content

Instantly share code, notes, and snippets.

@NickCraver
Last active January 4, 2021 09:59
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save NickCraver/1d098f68b102469bf0ba5f7f642ae163 to your computer and use it in GitHub Desktop.
Save NickCraver/1d098f68b102469bf0ba5f7f642ae163 to your computer and use it in GitHub Desktop.
A weekly task that pops up https://github.com/trending in Chrome to find interesting OSS projects.
Register-ScheduledTask `
-Action (New-ScheduledTaskAction `
-Execute ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe")."(default)") `
-Argument 'https://github.com/trending') `
-Trigger (New-ScheduledTaskTrigger -Weekly -DaysOfWeek Monday -At 3am) `
-TaskName "GitHub Trending" `
-Description "Weekly check of GitHub trending repos."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment