Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14958 > unrolled thread

Best technology for a pet Linux project?

Started bySteve <tinker123@gmail.com>
First post2015-06-17 05:55 -0700
Last post2015-06-17 14:39 -0500
Articles 7 — 7 participants

Back to article view | Back to comp.os.linux.misc


Contents

  Best technology for a pet Linux project? Steve <tinker123@gmail.com> - 2015-06-17 05:55 -0700
    Re: Best technology for a pet Linux project? The Natural Philosopher <tnp@invalid.invalid> - 2015-06-17 14:32 +0100
    Re: Best technology for a pet Linux project? Joe Beanfish <joebeanfish@nospam.duh> - 2015-06-17 13:31 +0000
    Re: Best technology for a pet Linux project? William Unruh <unruh@invalid.ca> - 2015-06-17 14:07 +0000
    Re: Best technology for a pet Linux project? "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2015-06-17 21:17 +0200
      Re: Best technology for a pet Linux project? Johnny <johnny@invalid.net> - 2015-06-17 14:26 -0500
      Re: Best technology for a pet Linux project? John Hasler <jhasler@newsguy.com> - 2015-06-17 14:39 -0500

#14958 — Best technology for a pet Linux project?

FromSteve <tinker123@gmail.com>
Date2015-06-17 05:55 -0700
SubjectBest technology for a pet Linux project?
Message-ID<35e27d67-4344-458c-becf-dbe803383a9a@googlegroups.com>
Hi,

I'm on RHEL 6 at work.

I would like to set something up that would play a sound file once an hour, between 9am - 6pm, M - F.

What is the best technology to look into for this?  CRON, AT, a bash script, a python script or some other technology?

Thanks

Steve

[toc] | [next] | [standalone]


#14959

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2015-06-17 14:32 +0100
Message-ID<mlrst7$k6n$1@news.albasani.net>
In reply to#14958
On 17/06/15 13:55, Steve wrote:
> Hi,
>
> I'm on RHEL 6 at work.
>
> I would like to set something up that would play a sound file once an hour, between 9am - 6pm, M - F.
>
> What is the best technology to look into for this?  CRON, AT, a bash script, a python script or some other technology?
>

cron is your friend for repetitive tasks


I'd doubt you need to go beyond a shell script to invoke some audio 
player of the command line persuasion

I seem to recall 'aplay' is the thing.for .wavs anyway.

Probably not even need a shell script for that.

Just cron



> Thanks
>
> Steve
>


-- 
New Socialism consists essentially in being seen to have your heart in 
the right place whilst your head is in the clouds and your hand is in 
someone else's pocket.

[toc] | [prev] | [next] | [standalone]


#14960

FromJoe Beanfish <joebeanfish@nospam.duh>
Date2015-06-17 13:31 +0000
Message-ID<mlrsrt$aiq$1@dont-email.me>
In reply to#14958
On Wed, 17 Jun 2015 05:55:40 -0700, Steve wrote:
> Hi,
> 
> I'm on RHEL 6 at work.
> 
> I would like to set something up that would play a sound file once an
> hour, between 9am - 6pm, M - F.
> 
> What is the best technology to look into for this?  CRON, AT, a bash
> script, a python script or some other technology?
> 
> Thanks
> 
> Steve

Cron would be simplest. One entry with the command to play the sound file.

[toc] | [prev] | [next] | [standalone]


#14962

FromWilliam Unruh <unruh@invalid.ca>
Date2015-06-17 14:07 +0000
Message-ID<mlruv6$png$1@dont-email.me>
In reply to#14958
On 2015-06-17, Steve <tinker123@gmail.com> wrote:
> Hi,
>
> I'm on RHEL 6 at work.
>
> I would like to set something up that would play a sound file once an hour, between 9am - 6pm, M - F.
>
> What is the best technology to look into for this?  CRON, AT, a bash script, a python script or some other technology?
>
> Thanks
>
> Steve

crontab 
0 9-18 * * 1-5 aplay nameoffile.wav

[toc] | [prev] | [next] | [standalone]


#14964

From"Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
Date2015-06-17 21:17 +0200
Message-ID<b7ca58c1bd91d1f6f4cae01858a6fd2b@remailer.privacy.at>
In reply to#14958
Steve <tinker...@gmail.com> [S]:
S> I would like to set something up that would play a sound file once
S> an hour, between 9am - 6pm, M - F.

Look around the net for an oldish script that announces the time
at the top of the hour, using sun audio (.au) files. Its name was
saytime.

It will get you started in no time.

[toc] | [prev] | [next] | [standalone]


#14965

FromJohnny <johnny@invalid.net>
Date2015-06-17 14:26 -0500
Message-ID<20150617142638.2c0bcb74@jmspc>
In reply to#14964
On Wed, 17 Jun 2015 21:17:33 +0200 (CEST)
"Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> wrote:

> 
> Steve <tinker...@gmail.com> [S]:
> S> I would like to set something up that would play a sound file once
> S> an hour, between 9am - 6pm, M - F.
> 
> Look around the net for an oldish script that announces the time
> at the top of the hour, using sun audio (.au) files. Its name was
> saytime.
> 
> It will get you started in no time.
> 

Synaptic Package Manager has it listed.

[toc] | [prev] | [next] | [standalone]


#14966

FromJohn Hasler <jhasler@newsguy.com>
Date2015-06-17 14:39 -0500
Message-ID<87vbemazvq.fsf@thumper.dhh.gt.org>
In reply to#14964
Anonymous Remailer writes:
> Look around the net for an oldish script that announces the time at
> the top of the hour, using sun audio (.au) files. Its name was
> saytime.

thumper/~ 21 apt-cache show saytime
Package: saytime
Version: 1.0-26
Installed-Size: 252
Maintainer: Holger Levsen <holger@debian.org>
Architecture: amd64
Depends: libc6 (>= 2.4), sox (>= 12.17.9), libsox-fmt-oss | libsox-fmt-alsa, oss-compat
Description-en: speaks the current time through your sound card
 Say the current time through your sound card.  Requires you have a
 sound output device available.
Description-md5: 35fa0bc9d6cc9869dd556cbceb08ccfa
Tag: accessibility::speech, interface::commandline, role::program,
 scope::utility, sound::player, use::timekeeping, works-with::audio
Section: sound
Priority: optional
Filename: pool/main/s/saytime/saytime_1.0-26_amd64.deb
Size: 147938
MD5sum: 09d496a9cc844925b6d4d61c162dc8b5
SHA1: a4c9b67633a5349ae5aaba43f33dbcfaf3ef22de
SHA256: eb62c7cd8edd7d4900d61ea49e171a6974c661f40e843972ac7a27e20380e3f8


-- 
John Hasler 
jhasler@newsguy.com
Dancing Horse Hill
Elmwood, WI USA

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web