Jump to content

Writing a small shutdown utility

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Dan Lane

Dan Lane

    Newbie

  • Members
  • Pip
  • 2 posts
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

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
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.

#3
Dan Lane

Dan Lane

    Newbie

  • Members
  • Pip
  • 2 posts
Hi Thanks for the reply, I will check it out.

Cheers

Dan