<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On two desktops and a laptop, all running Debian, I have a couple of
cron jobs that check whether any of my children are logged on at our
standard bedtime (8:00 PM nights before school, no check otherwise)
and forcibly logs them off. Actually, there's a "warning" script
that runs five minutes before (write to all consoles, and use
text-to-speech to issue an audio warning), and a "Good Night"
text-to-speech at the appointed time.<br>
<div class="moz-forward-container"><br>
Since update to Debian 7, the commands "festival --tts" and "wall"
are giving errors. Any advice on how to remediate?<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>Cron <root@huitzil> /usr/local/sbin/bedtime kill</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Thu, 02 Oct 2014 20:00:18 -0400</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:root@lmert.com">root@lmert.com</a> (Cron Daemon)</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:root@lmert.com">root@lmert.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>logging off - Following children are still logged in...
tlazoh
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: Device or resource busy
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: Device or resource busy
[Thu Oct 2 20:00:18 EDT 2014] - done
</pre>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
</th>
<td>Cron <root@huitzil> /usr/local/sbin/bedtime warn</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Thu, 02 Oct 2014 19:54:03 -0400</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:root@lmert.com">root@lmert.com</a> (Cron Daemon)</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:root@lmert.com">root@lmert.com</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>warning - Following children are still logged in...
tlazoh
wall: cannot get tty name: Inappropriate ioctl for device
wall: cannot open file -: No such file or directory
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: Device or resource busy
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: Device or resource busy
</pre>
</div>
<br>
</body>
</html>