Powershell: Set a Scheduled Task to run when user isn’t logged in

I’m not a fan of embedding my credentials into a script (which a few other example here do) and additionally, you generally can’t do this from something like Packer or some other system/configuration automation or in a cloud provider with an pseudo-randomly generated password. Plus, generally, I feel hardcoding your credentials into a script or … Read more

Selectively disabling UAC for specific programs on Windows Programatically

Quick description: Make a new console/window application to run any application bypassing UAC choosing the path of your target application in this application as guided below, compile this program once, and run anytime Step by step Download Microsoft.Win32.TaskScheduler.dll from This link => Original Source => dllme.com Make a c# application (Windows or Console) and add … Read more

Get all jobs in Quartz.NET 2.0

You can use fetch a list of executing jobs: var executingJobs = sched.GetCurrentlyExecutingJobs(); foreach (var job in executingJobs) { // Console.WriteLine(job.JobDetail.Key); } or fetch all the info about scheduled jobs (sample console application): private static void GetAllJobs(IScheduler scheduler) { IList<string> jobGroups = scheduler.GetJobGroupNames(); // IList<string> triggerGroups = scheduler.GetTriggerGroupNames(); foreach (string group in jobGroups) { var … Read more

How to run a Jupyter notebook with Python code automatically on a daily basis?

Update recently I came across papermill which is for executing and parameterizing notebooks. https://github.com/nteract/papermill papermill local/input.ipynb s3://bkt/output.ipynb -p alpha 0.6 -p l1_ratio 0.1 This seems better than nbconvert, because you can use parameters. You still have to trigger this command with a scheduler. Below is an example with cron on Ubuntu. Old Answer nbconvert –execute … Read more