Libraryless. Click here for Pure Java version (850L/7K/24K).
1 | !747 |
2 | |
3 | m { |
4 | static long hours = 24; |
5 | |
6 | p { |
7 | print("Periodic rebooter. Sleeping till reboot time."); // TODO: print that time |
8 | sleepSeconds(60*60*hours); |
9 | startBot("Reboot Bot", "#1001218"); |
10 | sendToLocalBot("Reboot Bot", "please reboot the machine."); |
11 | } |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001364 |
Snippet name: | Periodic rebooter (once every 24h) |
Eternal ID of this version: | #1001364/1 |
Text MD5: | f79d957de008032c0c6e1e233422365c |
Transpilation MD5: | 1e4697b1498033f46edb74853cc1fb09 |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-11 20:45:18 |
Source code size: | 281 bytes / 12 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 646 / 1039 |
Referenced in: | [show references] |