always-on / always

Always-On Relational Agents for Social Support of Isolated Older Adults
http://www.cs.wpi.edu/~rich/always
4 stars 7 forks source link

Move Reeti boot time to 4am #510

Open charlesrich opened 9 years ago

charlesrich commented 9 years ago

to avoid unnecessary race condition opportunities re ASUS boot. Need to find out where exactly the file on Reeti is located.

charlesrich commented 9 years ago

@lring For each of the four Reetis (Nori and Kili at WPI,have been done), before they are fielded, the crontab needs to be updated as follows. You will need to open a bash shell on Reeti, which you can do either of two ways:

(1) Standalone: Plug in monitor to VGA plugin under base. Open shell from desktop (2) Via network: If Reeti is connected to PC via cross-over cable (as per installation), use ssh:

ssh reeti@192.168.1.2

and provide the same password as username.


In Reeti shell:

First (this opens the crontab file in the terminal):

sudo crontab -e

Edit the file so that it contains ONLY the following line:

0 4 * * * /sbin/shutdown -r now

Then exit (ctrl X) and accept to save (press Y) and (Enter).

**\ NB, The above changes the crontab for the ROOT login, but there may also (erroneously) be a crontab for the reeti login. To check, that do (no sudo):

crontab -e

and if there is a file, delete all lines (empty file), and the exit and save as before