Jump to content




What can I do for the monitor do not clean when I restart my server ?

computer peripheral

1 reply to this topic

#1 aroeira

  • New Members
  • 1 posts

Posted 28 August 2012 - 03:29 AM

What can I do for the monitor do not clean when I restart my server ?
I am using this code:


mon=peripheral.wrap("top")
mon.clear()
mon.setCursorPos(1,1)
mon.write("Frist line...")
mon.setCursorPos(2,2)
mon.write("Second line...")

My server restart all day automatic and I need open the computer end execute this program again.

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 28 August 2012 - 04:17 AM

I don't think there's a way to automagically start programs on a server start, but if you put it under a program named "startup" it'll start the program when you turn the computer on.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users