PySchoolClock is an alarm clock that checks your local school closing listings on the Internet. If your school is closed, the alarm clock lets you sleep in.
I am executing perl script on Linux machine and the script is running for the last 5 hours and while running the script I had an error message in a single line
Alarm Clock and the script got stopped.
I havnt scheduled the script.I have executed the script manually. There is no syntax errors in... (1 Reply)
I'm trying to run a alarm.sh using crontab, which play a song as
an alarm at 6.15 am. I'm using amixer so that volume increases by 10% in every loop.
My script is the following.
SHELL=/bin/bash
PLAYER=/usr/bin/mplayer
SONG=/home/hbar/Music/song.mp3
DISPLAY=:0.0
15 06 * * *... (10 Replies)
GStreamer::Clock(3pm) User Contributed Perl Documentation GStreamer::Clock(3pm)NAME
GStreamer::Clock - Abstract class for global clocks
HIERARCHY
Glib::Object
+----GStreamer::Object
+----GStreamer::Clock
METHODS
clockid = $clock->new_periodic_id ($start_time, $interval)
o $start_time (unsigned integer)
o $interval (unsigned integer)
clockid = $clock->new_single_shot_id ($time)
o $time (unsigned integer)
list = $clock->add_observation ($slave, $master)
o $slave (unsigned integer)
o $master (unsigned integer)
unsigned integer = $clock->adjust_unlocked ($internal)
o $internal (unsigned integer)
(internal, external, rate_num, rate_denom) = $clock->get_calibration
$clock->set_calibration ($internal, $external, $rate_num, $rate_denom)
o $internal (unsigned integer)
o $external (unsigned integer)
o $rate_num (unsigned integer)
o $rate_denom (unsigned integer)
unsigned integer = $clock->get_internal_time
clock or undef = $clock->get_master
boolean = $clock->set_master ($master)
o $master (GStreamer::Clock)
64 bit unsigned = $clock->get_resolution
64 bit unsigned = $clock->set_resolution ($resolution)
o $resolution (64 bit unsigned)
unsigned integer = $clock->get_time
PROPERTIES
'stats' (boolean : default false : readable / writable / private)
Enable clock stats (unimplemented)
'timeout' (Glib::UInt64 : default 100000000 : readable / writable / private)
The amount of time, in nanoseconds, to sample master and slave clocks
'window-size' (integer : default 32 : readable / writable / private)
The size of the window used to calculate rate and offset
'window-threshold' (integer : default 4 : readable / writable / private)
The threshold to start calculating rate and offset
SEE ALSO
GStreamer, Glib::Object, GStreamer::Object
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
perl v5.14.2 2012-03-01 GStreamer::Clock(3pm)