Starting an Application on Weekday Logon Only, Skipping Holidays
Read OriginalThis article describes a programmer's solution to automatically launch Webex (CiscoCollabHost.exe) only on weekday logons, excluding weekends and public holidays. The author, who works from home, forgot to start Webex and missed a customer call, prompting an automated fix. The solution uses a PowerShell script placed in the Windows Startup folder. The script checks the current day and date against a list of public holidays for North Rhine-Westphalia (NRW), including movable holidays calculated via the Gauss algorithm for Easter Sunday. Fixed holidays are hardcoded. The script ensures Webex only runs on workdays, avoiding availability on non-working days. The post includes the full PowerShell code and explains the logic behind holiday computation.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet