Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-2007, 04:49 AM
Dan Lane Dan Lane is offline
Newbie
 
Join Date: Sep 2007
Posts: 2
Rep Power: 0
Dan Lane is on a distinguished road
Default Writing a small shutdown utility

Hello All,

Shortish version:

Could an executable program be written in VB or Python? I`m thinking that it would be allot easier for me to do in vb/python rather than battle with C# or C++. I have no experience with vb/python but I do alot of advanced scripting in a 3D application called 3DSmax. The utility I want to write is a small program to shut a pc down at a sepcified time of day.



Long Version:

Where I work we have a renderfarm and currently if I need to shut them down I have to login with VPN. Its slow and a pain, so I was thinking that it would be great to write a small program that ran on each machine that just waits for a specified time and then shuts the pc down.

I am thinking to make it super convinent that each machines program checks for a single text file on the network that is a list of the computer names and the times I want them to shut off.

Could this be written in python or vb? Can anyone suggest a language suited to doing this.

Thanks for reading

Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 09-16-2007, 10:10 AM
v0id's Avatar   
v0id v0id is offline
Retired
 
Join Date: Apr 2007
Location: Denmark
Posts: 2,635
Last Blog:
CherryPy(thon)
Rep Power: 28
v0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of lightv0id is a glorious beacon of light
Send a message via MSN to v0id
Default

This could probably be done in Python. I recently heard that there's shipping a compiler for Python in the newest official version. Something called "exemaker," it should be an official tool for making your Python scripts into executable files, instead of messing with third-party tools.
__________________
05-03-2007 - 11-13-2008
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-16-2007, 12:06 PM
Dan Lane Dan Lane is offline
Newbie
 
Join Date: Sep 2007
Posts: 2
Rep Power: 0
Dan Lane is on a distinguished road
Default

Hi Thanks for the reply, I will check it out.

Cheers

Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue writing to file: pointer to a class which contains pointers to other classes Sheemer C and C++ 0 08-21-2007 02:17 AM
Best way to save lots of small values (in a database)? Vantage General Programming 2 05-14-2007 08:57 AM
Xref a utility program 1.0 Kernel Software Development Tools 0 10-04-2006 12:11 AM


All times are GMT -5. The time now is 06:51 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads