Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1020105 // rebootComputer

JavaX fragment (include)

svoid rebootComputer() {
  logQuotedWithDate(rebootLogFile(), "Rebooting computer");
  if (isWindows())
    windows_reboot();
  else
    linux_reboot();
}

Author comment

Began life as a copy of #1020006

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1020105
Snippet name: rebootComputer
Eternal ID of this version: #1020105/3
Text MD5: a95e389ae5557b61e3c468d5bff73c7d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-10 14:02:25
Source code size: 160 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 276
Version history: 2 change(s)
Referenced in: [show references]