Scheduled reboot

Discuss magicJack running on Thin Clients

Moderators: Bill Smith, Pilot

Post Reply
tony
Dan Should Pay Me
Posts: 509
Joined: Sun May 04, 2008 1:03 pm
Location: Vancouver, BC

Scheduled reboot

Post by tony »

Hi,
On a TC (T5700 specifically), is there a way to schedule a reboot, say every 12 or 24 hrs? I've searched but no avail. I have one TC for the MJ, a second TC I'm playing with and it's currently set up with webcams to post pictures to the web when there's any movement in the scene. Problem is the program or the TC hangs after a few hours. When we're away, I'd like to be able to restart the TC and webcam program. I'd need the scheduled restart to ignore any errors from programs? If not, maybe I'll plug the TC power adapter into a timer? It shouldn't hurt the TC and it'll reboot up fresh everytime?

thanks.
Pismire
magicJack Apprentice
Posts: 26
Joined: Wed Feb 13, 2008 1:33 pm

Post by Pismire »

Control panel -- scheduled tasks. Add new task.

Run: C:\WINDOWS\system32\shutdown.exe /r /t 01

Start in: C:\WINDOWS\system32
tony
Dan Should Pay Me
Posts: 509
Joined: Sun May 04, 2008 1:03 pm
Location: Vancouver, BC

Post by tony »

Hi thanks for the tip.
Is there a special add-in for XPe to add a module for Task Scheduler? In the "S's" on the control panel, I have Scanners and Cameras, Sounds and Audio Devices and System. But no "Schedule Task".

I'm pretty sure I have the latest XPe SP2 loaded.
Pismire
magicJack Apprentice
Posts: 26
Joined: Wed Feb 13, 2008 1:33 pm

Post by Pismire »

Switch to classic view on the left.
tony
Dan Should Pay Me
Posts: 509
Joined: Sun May 04, 2008 1:03 pm
Location: Vancouver, BC

Post by tony »

Yep, that's the view I prefer (classic). Here are my control panel items below. Do some people have Task Scheduler showing up on their thin clients? HP T5700 512F/256R.

Accessibility options
Add Hardware
Administrative tools
Date and time
Display
EWF configuration
Folder options
Fonts
Game Controllers
HP DHCP Settings Update Client
HP Logon Manager
HP RAMdisk manager
Internet options
Keyboard
Mouse
Network connections
Phone and modem options
Power management options
Printers and faxes
Regional and language options
Scanners and cameras
Sounds and Audio Devices
System
Taskbar and start menu
USB Storage Security Options
ret27m
Dan isn't smart enough to hire me
Posts: 170
Joined: Mon Nov 03, 2008 7:35 pm
Location: Pensacola Fl

Post by ret27m »

It's in the T5710's control panel, I'm suprised its not in the T5700, maybe it in your admin tools folder...just a suggestion.
HP T5710 2gbF 1gbR XPe
Boondocs
MagicJack Expert
Posts: 88
Joined: Thu Nov 13, 2008 10:13 pm
Location: Pocono's PA

Post by Boondocs »

Tony check your pm's
newtoncd
Dan isn't smart enough to hire me
Posts: 216
Joined: Fri Jan 09, 2009 12:52 am

Post by newtoncd »

Boondocs wrote:Tony check your pm's

I am also interested in this. I don't have the task scheduler in the control panel. Thanks.

<edit> disregard, I found a freeware program called shutdownone home from dimaware.com ... works great.
davrow
Dan isn't smart enough to hire me
Posts: 179
Joined: Wed Oct 15, 2008 6:47 pm

Post by davrow »

Has anyone else been able to download ShutDownOne Home that newtoncd mentions from dimaware at this link? http://www.dimaware.com/downloads/

I click on the download, it brings up the "save" dialog, but it never downloads anything.

Just curious...
dbarber
MagicJack Contributor
Posts: 58
Joined: Tue Nov 27, 2007 8:19 pm
Location: West Chester, PA

Post by dbarber »

davrow wrote:Has anyone else been able to download ShutDownOne Home that newtoncd mentions from dimaware at this link? http://www.dimaware.com/downloads/

I click on the download, it brings up the "save" dialog, but it never downloads anything.

Just curious...
Works fine for me.
MagicJack on Dell Inspiron 8200 laptop running WinXP Pro with SP2

These opinions are strictly my own. However, if you really want them, we can negotiate.
stroths
Dan isn't smart enough to hire me
Posts: 470
Joined: Wed Apr 02, 2008 11:45 pm
Location: Dallas, TX

Post by stroths »

davrow wrote:Has anyone else been able to download ShutDownOne Home that newtoncd mentions from dimaware at this link? http://www.dimaware.com/downloads/

I click on the download, it brings up the "save" dialog, but it never downloads anything.

Just curious...
Try increasing your ramdrive, commit and reboot. See if that fixes it as I had that issue once and it was because I didn't have a large enough ram disk.
davrow
Dan isn't smart enough to hire me
Posts: 179
Joined: Wed Oct 15, 2008 6:47 pm

Post by davrow »

Thanks for the feedback. I'm at work on a regular desktop PC.

The manual for shutdown pro downloads fine - but the home version program doesn't .

Oh, well, I'll try from home and let you know.
Boondocs
MagicJack Expert
Posts: 88
Joined: Thu Nov 13, 2008 10:13 pm
Location: Pocono's PA

Post by Boondocs »

Problem figured out. You need to use the HP image SP36064
http://h20000.www2.hp.com/bizsupport/Te ... vc-51791-1
That should do it.
VaHam
Dan Should Pay Me
Posts: 851
Joined: Wed Feb 13, 2008 8:02 pm

Post by VaHam »

Pismire wrote:Control panel -- scheduled tasks. Add new task.

Run: C:\WINDOWS\system32\shutdown.exe /r /t 01

Start in: C:\WINDOWS\system32
You most likely want to add /f to the options so that any stubborn processes will shutdown.
Sad Times Ahead for this Obamanation !!!! Psalms 109:8
stroths
Dan isn't smart enough to hire me
Posts: 470
Joined: Wed Apr 02, 2008 11:45 pm
Location: Dallas, TX

Post by stroths »

For those missing a task scheduler, you can use a free alternative called pycron. I just installed it as I noticed one of my TC's was missing the task scheduler.

It's basically a Windows port of the popular cron from the Linux/BSD world. It will install as a service, so you don't have to worry about running it manually.

Cron is actually a lot more powerful than the Windows Task scheduler, but takes a little getting use to.

Link - http://www.kalab.com/freeware/pycron/pycron.htm
MJU4linhlilybeth
MagicJack Newbie
Posts: 7
Joined: Mon Dec 20, 2010 5:49 am

Help With Pycron

Post by MJU4linhlilybeth »

Hi Stroths,

I just started using Pycron as recommended since my HP T5700 does not have scheduled tasks. However, I cannot get Pycron to shutdown. Would you please provide me a sample what you put in Task Command and Parameters? Thank you. Beth.
Diggs
Dan isn't smart enough to hire me
Posts: 268
Joined: Fri May 14, 2010 2:57 pm

Re: Help With Pycron

Post by Diggs »

MJU4linhlilybeth wrote:Hi Stroths,

... my HP T5700 does not have scheduled tasks.
Did you enable Task Scheduler through your administrative Tools in Control Panel?
MJU4linhlilybeth
MagicJack Newbie
Posts: 7
Joined: Mon Dec 20, 2010 5:49 am

Post by MJU4linhlilybeth »

Hi,

I followed the instruction given by Pycron as followed. Do I need to click on start button under task scheduler?

"Then click Start->Run->services.msc (hit enter)

Scroll down to and highlight Task Scheduler->right click->Properties->Toggle to Manual->hit Stop->then Apply->OK

Then scroll up to Python Cron Service->highlight->right click->Properties->Toggle to Automatic->Apply->OK"

Thanks for your help,

Beth
MJU4linhlilybeth
MagicJack Newbie
Posts: 7
Joined: Mon Dec 20, 2010 5:49 am

Post by MJU4linhlilybeth »

Does anyone currently use Pycron with great success? I couldn't get it to work. Maybe I didn't set up correctly. Under Task Command, I browsed to C:\Windows\system32\shutdown.exe but I left parameters alone. This might be where the problem is. Does anyone know what to put in parameters field? Thanks in advance for your help. Beth
Post Reply