nice Mini-ITX box

"John Larkin" wrote in message news: snipped-for-privacy@4ax.com...

Then the Scheduled task manager could be used to kill the webcam software and restart it. Use 'taskkill' and write your self a batch file.

Cheers

TASKKILL [/S system [/U username [/P [password]]]] { [/FI filter] [/PID processid | /IM imagename] } [/F] [/T]

Description: This command line tool can be used to end one or more processes. Processes can be killed by the process id or image name.

Parameter List: /S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which the command should execute.

/P [password] Specifies the password for the given user context. Prompts for input if omitted.

/F Specifies to forcefully terminate process(es).

/FI filter Displays a set of tasks that match a given criteria specified by the filter.

/PID process id Specifies the PID of the process that has to be terminated.

/IM image name Specifies the image name of the process that has to be terminated. Wildcard '*' can be used to specify all image names.

/T Tree kill: terminates the specified process and any child processes which were started by it.

/? Displays this help/usage.

Filters: Filter Name Valid Operators Valid Value(s) ----------- --------------- -------------- STATUS eq, ne RUNNING | NOT RESPONDING IMAGENAME eq, ne Image name PID eq, ne, gt, lt, ge, le PID value SESSION eq, ne, gt, lt, ge, le Session number. CPUTIME eq, ne, gt, lt, ge, le CPU time in the format of hh:mm:ss. hh - hours, mm - minutes, ss - seconds MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB USERNAME eq, ne User name in [domain\]user format MODULES eq, ne DLL name SERVICES eq, ne Service name WINDOWTITLE eq, ne Window title

NOTE: Wildcard '*' for the /IM switch is accepted only with filters.

NOTE: Termination of remote processes will always be done forcefully irrespective of whether /F option is specified or not.

Examples: TASKKILL /S system /F /IM notepad.exe /T TASKKILL /PID 1230 /PID 1241 /PID 1253 /T TASKKILL /F /IM notepad.exe /IM mspaint.exe TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*" TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM * TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

Reply to
Martin Riddle
Loading thread data ...

"TheQuickBrownFox" wrote in message news: snipped-for-privacy@4ax.com...

Linux will corrupt it's drives too.

Been there done that.....

Cheers

Reply to
Martin Riddle

Look, something is wrong with *everyone's* Windows.

I'm running XP.

Latest fiasco: I put the webcam software shortcut into the startup folder, and it starts, but it starts up before Windows has finished enumerating USB devices, so the cam isn't there, so Yawcam doesn't find it and bombs.

So I wrote a PowerBasic program that waits 60 seconds and then launches Yawcam, and I put a shortcut to *that* in the start folder.

So, maybe, the whole mess might work.

I might try using the mechanical timer to power cycle just the cable modem at 3AM, if I could make sure winsock would recover and Yawcam wouldn't barf. And if I could trust XP to stay up for months at a time.

It would have been easier to hire some local kid to turn on the heat when we call her.

John

Reply to
John Larkin

DTR or CTS on a serial port? I was planning a similar solution to regular modem lockup but putting the modem into bridge mode and running the connection through a Linux box fixed that.

Yes, there's a small chance the NTFS filesystem will fail over after unexpected power fail, if you can schedule a nice shutdown, it'd be better than a daily 'pull the plug until it breaks' :) Or talk WinXP's comms program to switch a relay via serial port, if there is one.

Grant.

Reply to
Grant

Windows task scheduler and his power strip timer works fine.

No UPS needed. EVER... At all...

Reply to
TheQuickBrownFox

n
g

One problem with modems these days is nobody really benchmarks them. Well a few European owned telecoms do benchmarks, but they don't want their asses sued so the test data is private. People bitch about

2wire, but this 2700hgb is the only modem that never needs a boot. I went through a bunch of DSL modems until I got this one on Craigslist. The echo canceller on the 2wire kicks arse, so the throughput is good.

My other rant is with gear where you can't pull the battery and the power switch is a software button. I haven't seen notebooks in years with real physical power switches. If things get hosed, potentially the power up button won't work. [Usually the power sequencing is in firmware in the keyboard controller, but this isn't always true.] I won't buy a notebook or cellphone where I can't yank the battery. If all else fails, you need to be able to restore the system to a known good state, i.e. powered off.

Reply to
miso

You simply remove the batteries, and supply the DC need through your controlled switch DC supply.

Reply to
TheQuickBrownFox

You can hard wire (and hence control) even 'soft' switches.

Reply to
TheQuickBrownFox

On a sunny day (Sun, 10 Apr 2011 21:16:18 -0400) it happened "Martin Riddle" wrote in :

Been using Reiserfs (3) for many years, with huge and small files, been many a power restart, it is a journaling filesystem. No problems. I did lose important stuff when I was still using ext2. I only use ext2 on a separate partition (just a few MB) for the kernel image, read only at boot. I think we now have Reiser 4 and ext4 and a whole lot of new stuff. Why change if I have zero errors in so many years? John L answered his own question some time ago: run a laptop, gives you many hours (up to 8 these days) battery backup. Not much more expensive (netbook), and free LCD and keyboard on top of that. Don't run MS crap.

Reply to
Jan Panteltje

On a sunny day (Sun, 10 Apr 2011 16:10:57 -0700) it happened John Larkin wrote in :

Hell how difficult is it to program a PIC so it interrupts power to that modem for a few seconds one a day? Do not reboot the PC. One PIC, modem perhaps has already a wallwart supply, run PIC off that, one transistor or transistor with relay, one capacitor. Else a battery will last a year (power relay normally closed).

Reply to
Jan Panteltje

So, you're going to put a pirate copy of XP on it?

The Revo was $199 with XP and a hard drive. To be legit, you have to now buy at the very least, an OEM copy of XP for your POS.

You seem to have more problems with math than those you point fingers at, considering the simplicity of this math.

Reply to
TheQuickBrownFox

Vandal! Not strong on patience are you? There is usually a cunning way to dismantle them it just requires a bit of ingenuity to find it.

Err. Yes you do - the PC can easily switch other kit on and off for itself using the antidiluvian X10 home automation protocol. eg

formatting link

Or if you prefer some more modern equivalent check out comp.home.automation for the latest and greatest.

Arrange that if the PC finds itself unable to ping a timeserver for more than an hour it reboots the cable modem and tries again and failing that reboots itself as well as the cable modem.

That seems like a gratuitously crude mechanical way of doing it with excessive wear and tear on the PC. Hardware hackers kludge writ large.

Regards, Martin Brown

Reply to
Martin Brown

Wow a real silver fork. Good investment :-)

Reply to
Jan Panteltje

Wow a real silver fork. Good investment :-)

--------------------------------------

It's a fork'n small computer......

Reply to
Dennis

How about daylight savings?

--
Failure does not prove something is impossible, failure simply
indicates you are not using the right tools...
 Click to see the full signature
Reply to
Nico Coesel

I'd go for an NE555 (maybe an NE556).

--
Failure does not prove something is impossible, failure simply
indicates you are not using the right tools...
 Click to see the full signature
Reply to
Nico Coesel

That doesn't look like Windows' fault. Ok, it should not let any SW start until it's done booting. And booting includes the recognition of peripherals. But if the webcam software is too stupid to look for it's camera at regular intervals then the programmers of that SW have screwed up.

I often forget to turn on or plug in the USB cable with some lab gear. That produces an error message on the lab computer, "Device not found", "Cannot connect", or whatever. But when I plug in or turn on, a melodious sound emerges and it's all well from then on.

That's like putting a band aid on bad software :-)

XP can stay up for months. I use hibernate all the time. When wrapping up work at night all I do is press the "off" button on the PC and go. In the morning I press "on", get coffee, enter passcode, start work. No booting. The only time I boot is usually when some new SW gets installed and for some #^&%!! reason requires a reboot to work.

Generally, yes. But there are technical methods that are simpler: Call the landline or, if none there, a pay-go cell phone up there, and press "MO". Because Mo doesn't like it cold. A simple DTMF decoder detects this, little relay clicks, 2nd thermostat comes on, furnace rumbles to life. If a customer calls with a problem and you end up not being able to go, call again, enter "CT" for "cancel that".

--
Regards, Joerg

http://www.analogconsultants.com/
 Click to see the full signature
Reply to
Joerg

Nearly all portable computers have a HW function for that: You press and then hold the soft button for a few seconds. This turns it off hard.

--
Regards, Joerg

http://www.analogconsultants.com/
 Click to see the full signature
Reply to
Joerg

And Windows 7 64 can too. I use hibernate on my 13.3" netbook.. I've got it set to hibernate automatically when the lid is closed.. only rarely does it not come back, and I typically leave all sorts of windows open.

Reply to
Spehro Pefhany

As do gadgets like the iPod touch that do not have removable batteries. Physical hard reset switches (the hidden ones that you actuate with a pin or whatever) are becoming less prevalent.

Reply to
Spehro Pefhany

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.