1 Replies - 355 Views - Last Post: 10 July 2012 - 09:48 PM Rate Topic: -----

#1 frostware  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 10-July 12

Is python the best, for my needs, or something else.

Posted 10 July 2012 - 09:04 PM

hi there, i have not programmed with python since high school. But i thought it would be good for a little program which i need to write, all it needs to do is run a scripts (.sh) at a timmer interval, this application will be called from a script at system start and run until the system has been shutdown, now is this possible with python, i believe so but im not sure, or is there another programming ;language which would be better suited.
Thanks for the help, and sorry for being such a newb.

Is This A Good Question/Topic? 0
  • +

Replies To: Is python the best, for my needs, or something else.

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3635
  • View blog
  • Posts: 5,756
  • Joined: 08-June 10

Re: Is python the best, for my needs, or something else.

Posted 10 July 2012 - 09:48 PM

Hi.

You can no doubt do this with Python, yes, but what you are describing would probably be better done without any programming language. Assuming we are talking about a Unix/Linux system here, you would usually do better to use Cron to schedule the execution of your scripts. Windows also has a task scheduler like that.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1