Results 1 to 2 of 2
Last night I wrote out a shell script that is called from cron, and the script functions as an alarm clock. I've been trying to get the script to run ...
- 04-12-2009 #1Just Joined!
- Join Date
- Apr 2008
- Location
- Georgia, US
- Posts
- 53
Some help with a shell script
Last night I wrote out a shell script that is called from cron, and the script functions as an alarm clock. I've been trying to get the script to run mplayer graphically, instead of invisibly. If I call the script myself from a terminal, then it shows mplayer in the terminal, and I can easily quit the script. Though if I let cron call the script like it is set to at 8am on Sundays, then I have to go into the System Monitor and kill the process. Any help would be appreciated, and here is the script.
Code:#!/bin/bash /usr/bin/mplayer -playlist ~/.playlist
- 04-12-2009 #2
Run "gmplayer" instead of "mplayer" in order to get a GUI.
DISTRO=Arch
Registered Linux User #388732


Reply With Quote