Dump a list of scheduled tasks
Easily dump to a csv a list of your scheduled tasks:
schtasks /query /FO CSV /V >sched_tasks.csv
Easily dump to a csv a list of your scheduled tasks:
schtasks /query /FO CSV /V >sched_tasks.csv
This interview really got me thinking about myself. Not simply in terms of scarcity, but also loneliness and enrichment. I have friends and associates that I consider successful (speaking both fiscally and in overall fulfillment) and I’ve always envied what I perceived to be some innate tendency towards success that many of them appear to have. I never thought much, however, about the psychology of failure – especially not pertaining to myself. Hell, why would I want to? But taking it into account while considering many of of the important decisions and actions I’ve taken in my life… well, it’s eye opening.
Being Poor Changes Your Thinking About Everything
I was given an old (old!) laptop to rebuild – Dell Latitude D630 – and short of putting Linux on it XP was the only way to go. I dusted off an ancient XP Pro SP 3 disc and got to work. Lo and behold after install I could not get it to run updates (“the website has encountered a problem”). Hitting the site produced an error every time. I downloaded and installed IE 8 to no avail. I downloaded what one site claimed was the latest Windows Update package and it also produced an error. I ran a variety of Microsoft’s “Fix-its,” none of which found any problems.
What I wound up doing is turning on Automatic Updates and then forcing a detection via a command prompt with:
wuauclt /detectnow
This allowed it to pull enough to update the, er, Updater and get me over the hump. It still wouldn’t pull updates from the site (rather than erroring it spun forever), so I headed to the MS fixit site:
And chose Windows, Install or Upgrade Software or Hardware, and Windows Update and then downloaded and ran the first Fix-it in the list (“Fix the problem with Microsoft Windows Update that is not working”). This repaired 2 problems and allowed updates to begin working.
Kind of ridiculous, no?
Online privacy’s been a thing for me for years now. Not because I’m doing anything “wrong,” but simply because I feel it’s my right – and your right – not to be snooped on.
I don’t pretend to be an expert at this (or at anything, for that matter), but here are a few things I use and recommend to try to keep prying eyes away:
Use Firefox. I used to be a Chrome fan, but Google’s a big part of the problem. No organization is perfect, but Mozilla – thus far – seems much more interested in our individual well being than that of any other browser offering. And the very first step in locking down Firefox is to navigate to Tools > Options > Privacy and choose “Tell sites that I do not want to be tracked.”
Next, a slew of Firefox add-ons:
Other security/privacy conscious items I use include:
There are lots of other privacy options out there, like TOR, but the few things I’ve listed above are the simplest ways to start securing your privacy.
Upon logging into a friends Windows 7 laptop I was given to get working again I was presented with a solid black background and a navigation window opened to Computer. No taskbar. No desktop icons. I figured explorer.exe wasn’t running, but a check in task manager proved me wrong. I Googled around and discovered that though I hadn’t seen this problem before, it was not uncommon. The fix turned out to be easy:
I wonder if I could apply Pixar’s 22 Rules of Storytelling to songwriting.
My son’s first loose tooth was *that close* to coming out, and we wanted something special to give him for it. We’re not the type to start introducing money just yet. We’re still fostering his creativity and imagination. He has the rest of his life to covet the almighty dollar – why not give him as much time as possible without that soul sucking force?
So I bought a nice piece of walnut from a woodworking store, borrowed the neighbors band saw, and made this Tooth Fairy box.
I hand sanded it and rubbed the whole thing down with a beeswax finish to give it that deep color. Within there’s a slot to place the tooth:
…which the Fairy replaces with a magic bead to be used in crafting. That circle you see is the remains of my attempt to fuse the top and bottom on a swivel dowel. I was unhappy with the results, so I lopped it apart, sanded it all down, and bought the hinge and clasp at the local hardware store. I like the result much better than the dowel idea.
I’m pleased with it as a first attempt. I really want my next house to have a proper workshop so I can begin to slowly amass all the fun tools I’d like to have for projects like this.
Some wonderful people gave us this ancient, indestructible White sewing machine/treadle.
We got it tuned up and it’s ready to roll. We found the crumbling manual in one of its drawers. After searching in vain for a digital copy of it, I scanned what we have. I love the art in these old manuals:
The entire manual, such as it is, can be downloaded here in PDF format.
Today at work I had a need to query a bunch of databases for a particular, er, thing, and then send that thing, if found, to myself via email. I needed this to happen every morning. I decided, since we’re talking about a MS SQL and Windows 2003/2008 environment, that Powershell was the way to go. And it was – until I popped it into scheduler.
When executed as a scheduled task, the email didn’t send. Things before and after the email routine worked – the arrays populated, the log file filled – but the email didn’t go. Firing it from a Powershell manually, everything went fine.
Being the stubborn arse I am, rather than get to Googling I started ripping things apart. I had the query dump its results into a temp file that a separately scheduled script would open, parse, email and then clear. Same result: run manually everything worked peachy. Scheduled, no email.
In the end the problem was irritatingly simple. For some reason, when run as a scheduled task the script didn’t keep the socket open to the SMTP server long enough for a successful transmission. I added a Start-Sleep -s 5 right after the SMTP command to give it a 5 second breather before continuing on. Voila – email success. How silly.
I think I’m going to like Powershell just fine. Other than quirks like this, and getting used to the syntax, it’s easy enough – and it seems a lot of Windows specific stuff is streamlined, at least in comparison to my old go-to admin scripting languages.