Fedora :: Cron Job (Play Media File At Certain Time) Not Executing

Nov 6, 2009

I wanted to use cron to play a media file at a certain time (i.e. use it as an alarm clock). However it seems to do nothing. The contents of my crontab is:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed
5 11 * * * env DISPLAY=:0.0 /usr/bin/totem /path_to_file

View 2 Replies


ADVERTISEMENT

Ubuntu :: No Sound In Kubuntu 10.04 When Play Any Media File

Jul 22, 2010

I am using Kubuntu 10.04 When I play any media file, I am not able to hear any sound. A few weeks ago, except DragonPlayer and Amarok no other app on my system was able to play sound(vlc etc.). A few days ago, even they stopped working and I saw a message related to Phonon and HDA Intel card of my system that it is not working properly. I also have dual boot with winXP and it sound play very well on it. Searching the net, I have tried these:

[Code]...

View 4 Replies View Related

Debian :: Executing Scripts From Cron ?

Oct 1, 2009

I am adding the following scripts to cron via crontab -e (as user)

Quote:

The first one is to record tv. I've added dev/null 2>&1 at the end. No too clear why but without it, it records only a few seconds.

The second script is (as you should already noticed) to turn off my computer at 6:25 am. It doesn't work (with or without dev/null 2>&1). I am surely forgetting something important. Could you please tell me what is it?

View 6 Replies View Related

CentOS 5 :: Cron Entries Not Executing?

Jun 2, 2010

I'm trying to add several cron jobs. I have a folder (/etc/cron.myapp) with several subfolders in it (30minute, 3minute, daily, hourly). Each of these folders contains a script.Runnng/usr/bin/run-parts /etc/cron.myapp/3minute/will execute the contents of that folder.I have tried adding the following entries to /etc/crontab with no luck, and nothing is showing up in /var/log/cron

*/3 * * * * /usr/bin/run-parts /etc/cron.myapp/3minute/
*/3 * * * * /usr/bin/run-parts /etc/cron.myapp/3minute
*/3 * * * * root /usr/bin/run-parts /etc/cron.myapp/3minute/

[code]....

View 3 Replies View Related

Ubuntu :: Cron Script Not Properly Executing?

Jun 5, 2010

so sorry about this seemingly silly cron question. I know a lot are asked, and are usually just environment related.Anyway, I wrote a very simple PHP script to mount my external drive to a specific location as soon as it's switched on.The script works great when run.What's strange, is that it runs in cron and generates a log file, but for someone reason doesn't mount the drive when cron runs itI added in the full path to EVERYTHING in the script, and I'm calling it with the full path from crontab, but it doesn't mount my drive when run from cron.I've tried running the individual commands on the cmd, and it all works.

View 9 Replies View Related

Ubuntu :: Cron Daemon Is Running But The Command Isn't Executing?

Mar 28, 2011

I was just curious if cron had to be enabled before use. i have a crontab, and the cron daemon is running, but the command isn't executing...

View 9 Replies View Related

Server :: MySQL Backup Cron Job Not Executing Correctly?

Mar 2, 2011

I own a CentOS 5 VPS. I typed crontab -e, and then I added the following line to automatically have my server backup mysql

0 * * * * mysqldump -u root -p password --all-databases | gzip > /home/dbbackup/database_`date '+%m-%d-%Y_%H'`.sql.gz

When I go in and look, it doesn't place any files in /home/dbbackup. When I run

mysqldump -u root -p password --all-databases | gzip > /home/dbbackup/database_`date '+%m-%d-%Y_%H'`.sql.gz

View 3 Replies View Related

Debian Multimedia :: How To Get VLC To Start At Specific Time In Media File

Mar 14, 2015

How do I get vlc to start at a specific time in a media file. I can do it easily in mplayer2, mpv but not vlc. Let's say the media file is named abc.avi (file format,container not important for this example.) Also the running time is around 2+ hrs. In mplayer2 and mpv I can simply do :-

Code: Select all$mpv abc.avi --start=00:59:00

And it will start running at that point in time.

In vlc, it also seems to have something at :-

Code: Select all[$] vlc --advanced --help
......
......

Playback control:
      --input-repeat <integer [-2147483648 .. 2147483647]>
                                 Input repetitions
      --start-time <float>       Start time

Now I don't understand what the <float> bit. I tried :-

Code: Select all$vlc abc.avi --start-time=00:59:00

But that didn't work. It's possible that it might be a bug, then again I might not have done it correctly.

View 3 Replies View Related

General :: Media Player - Use Totem And Rhythmbox To Play An Mp3 File But It Fails Because Of A Missing Decoder

Feb 19, 2011

I tried to use Totem and Rhythmbox to play an mp3 file but it fails because of a missing decoder. I have found a solution that solve the problem through a repository. Unfortunately, the PC I'm using doesn't have internet connection so I'm looking for another approach. I couldn't find any rpm that would work for CentOS I could copy the my Linux system?

View 14 Replies View Related

Red Hat / Fedora :: Can't Play Any Media On 12

May 13, 2010

jus installed fedora 12 and chking it out ... been using windows all my life .. I am having a problem with playing any media.. here are the things i have done to try and get it working Code: yum groupinstall "sound and video" this got the entire package on to my system Also installed the below using Code: yum install xine xine-lib Still xine gives me

the stream 'THERE IS NO MRI..' uses an unsuported codec video codec MPEG1/2(0x0) (NULL) start play back anyway?

if i give an yes command the dialogue box persists..

View 9 Replies View Related

Fedora :: Can't Play Media Files

Aug 6, 2009

i have installed fedora 11 everything is working fine but i have problems with playing media files i cant play any kind of media even mp3s whenever i play a mp3 file it asks me to download the codec i press the search button but i get the following error could not find plugin in any configured software source

View 4 Replies View Related

Ubuntu Multimedia :: Media Player Won't Play Real Dvds But Will Play Burned?

Oct 15, 2010

i just installed 10.10 on my girls laptop (Acer Aspire 5735z) hoping it would fix the old problem i had with playing real dvd's. it didnt. it keeps saying "Could not read from Resource". when i try with VLC is say "Could not read from file". but if i put in a burned movie, it plays fine. i checked and it has libdvdcss2, libdvdnav4, and libdvdread4 installed. i get the same problems with my laptop (toshiba portege m400 tablet) which runs fedora 13.

View 5 Replies View Related

Fedora :: Can't Play Windows Media Stream In Firefox?

Nov 7, 2009

I have Fedora 11 and I cannot play a windows media stream in Firefox. E.g. http://www.rogersplus.ca/movie.asp?mid=35147# from this site I cannot view trailers in Windows Media Format but I can using Real Player. When I select Windows Media Stream, all I see is a black window in place of video.

I have installed following plugins in Firefox, DivX Browser Plug-in (Geko Media Player 0.9.8), MozPlugger 1.12.1, gecko-mediaplayer 0.9.8, VLC Multimedia Plug-in 1.0.3.

View 14 Replies View Related

Fedora :: Can't Seem To Figure Out How To Fix But Vlc Will Not Play Media Files After Installing?

Mar 16, 2010

Whenever I try to install vlc I get a ton of errors shown below. I can't seem to figure out how to fix this, but vlc will not play my media files after installing. Any ideas?

Code:
[Jake@Jake ~]$ sudo yum install vlc
Loaded plugins: fastestmirror, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.us.as6453.net

[Code]...

View 1 Replies View Related

Fedora :: Unable To Play Media Sounds On HP Laptop - F14 KDE

Jan 24, 2011

I just installed Fedora 14 (running KDE) on my HP DV6Z-SE. It came pre-packaged with Windows 7 and I am running a dual-boot (I kept Windows for gaming purposes). Anyway, problem is I am unable to play media sounds. I've tried playing my music (all OGG Vorbis) on both DragonPlayer and VLC, to no avail. When I go to Phonon, I have two options for prefered devices, "Redwood HDMI Audio [Radeon HD 5600 Series] Digital Stereo (HDMI)" and "Internal Audio Analog Stereo".

When I test them, the Radeon one never plays sound, while the Internal Audio plays the test sound sometimes (rarely). I tried moving the latter up the preference order, but it changed nothing.

View 4 Replies View Related

Fedora :: Allow Executing File As Program?

Apr 18, 2011

i have many text files in my directory and when i click on them to open them os treat it as a runnable file any says display or run or run in terminal ... i want to pick up recursively the tick of "Allow executing file as program" for all files.

View 2 Replies View Related

Fedora Installation :: DualBoot Windows Vista And 14 - Play All Media Formats ?

Dec 13, 2010

I am planning to buy a new system. I am planning to use fedora and windows vista (I have a legal copy with me and I dont want to buy a new one. That's why no windows 7 here).

How shoudl I proceed? Which OS to install first? I believe (from reading the threads) that I should install windows vista first and Fedora second.

The main question I have is this. I heard that HDD makers will no longer ship the current HDD's in Jan. Heard that 512 byte hard drive format is to be replaced by 4KB. I read somewhere that this can cause issues when we go for dual boot. Is this true? In that case, what steps can I take to ensure no problems occur?

I really want to use Vista only for running certain applications which do not run on linux. I have heard WINE can simulate a WIN environment. But is this really true? I mean, can it simulate WIN environments perfectly?

My next question is regarding dual HDD. I am planning to go for 2*500GB HDD instead of 1*1TB HDD... So will it be better if I dedicate one HDD to Vista and 1 HDD to Fedora? (I know it will be a waste of space since I will be using Fedora mainly and hardly aropund 10-20 GB for Vista. But I can access the Vista partitions)

Does fedora play all media formats? I know out of the box it might not.. But does having VLC help?

I dont see any firewall protection in Linux. I have heard of using IPTables, but then how efefctive are those? I will be doing many online transactions and I want my system to be secure. I know Linux is pretty secure. So should I harden the security with a hardware firewall?

I will be watching a lot of DVD movies, AVI movies and some HD movies as well. Does linux have issues rendering HD movies properly? I have read somewhere that fedora has issues while Win is good and Debian/CentOS (Not sure which one was mentioned) is even better. I had a pretty powerful config in teh past and yet I have seen that my Vista machine had trouble rendering a HD movie properly.

I will be buying AMD configuration along with an ATI graphic card (sometimes). Does Fedora have any driver issues?

View 14 Replies View Related

Fedora Installation :: Cannot Play Media Don't Have The Correct Version Of The Flash Player

Apr 3, 2011

Firefox 3.6.16 I recently installed Fedora 14. I get this message when I browse to some web pages: Code: Cannot play media.You do not have the correct version of the flash player. I have installed the flash-plugin. And has been installed to the following directory;

[Code]....

View 2 Replies View Related

Red Hat / Fedora :: Executing A File - Showing Error - Command Not Found

Aug 23, 2010

I m using Redhat Linux 5......I am trying to install Nero 4 DVD Writer s/w...It is an exe file ...

I have given permission like this:

Then i execute the file like this:

Its showing error like this:

View 9 Replies View Related

Fedora :: Unable To Check "allow Executing File As Program" In File Properties - Permission Denied

Feb 27, 2011

Im trying to run a program but my system won't let me.i used to be able to run executable files without a problem but i can't anymore when i double click the file i get "there is no application installed for executable files" i am unable to check "allow executing file as program" in file properties there is a script file which runs the program but all i get from the terminal is "permission denied"

View 14 Replies View Related

Server :: Executing A Script At Boot Time?

Apr 22, 2011

Execute a script as a non-root user at boot time. The script lives in /home/sbrown/scripts and has the executable bits set. If I run the script locally in the shell it behaves as normal, but will not at boot time It's a very simple 2 line script:

#!/bin/bash
# Starts IRSSI in a screen session
sudo -u sbrown screen -S irssi irssi

Here's WHAT DOESN'T work:

I put this in /etc/rc.local: sudo -u sbrown /home/sbrown/scripts/irssi_exec I also tried just copying the script to /etc/init.d/ and chowning it to root then ran update-rc.d irssi_exec defaults and rebooted. Still not working. This is on a Debian Squeeze box... what am I missing? Surely it should be simpler than this

View 3 Replies View Related

Fedora :: Speakers Don't Mute When Headphones Are Plugged In (Both Play At The Same Time)

May 28, 2011

Since I bought my computer and I installed Linux on it, I had this problem...
Back in the day I never Found a REAL Solution and finally my "solution" (in Fedora)
was installing "pavucontrol" to choose the Devices when I needed to Switch.

Via the Pulse Audio Volume Control I was able to Mute speakers or Headphones
at my will, even if I had both connected, this thing worked from F12 to F14 very well...

(The same problem is present in every distro I tried and sometimes it was solved the same way in other distros)

But Now, I'm in F15 And my magic workout doesn't work anymore... it doesn't matter
wich device I choose as output, the PC simply don't mute one or another and my headphones and speakers sound at the same time.

The Sound card is a HDA INTEL with the Realtek ALC662 rev1 Chip, as I said before,
I'm using Fedora 15 KDE (64 Bit version) and I'm running ALSA v 1.0.23 with pulseaudio 0.9.22-5

The output of "lsmod | grep snd" is:

snd_usb_audio 98871 1
snd_usbmidi_lib 18066 1 snd_usb_audio
snd_rawmidi 20308 1 snd_usbmidi_lib

[Code]....

View 3 Replies View Related

Ubuntu :: Play MP3 And WAV File Plugins - Required Software To Play File Not Installed

May 6, 2010

I'm trying out 10.04 LTS 64-bit from the live CD and when I try to play a MP3 or WAV file it gets the usual Search for suitable plugin? "The required software to play this file is not installed. You need to install suitable plugins to play media files. Do you want to search for a plugin that supports the selected file? The search will also include software which is not officially supported." Error message so I click Search and it comes up with the error No packages with the requested plugins found.

Is this because it is in Live Mode and installing 10.04 to my hard drive will fix it or does Ubuntu no longer support audio files other then ogg and other open source audio / video file formats due to copyright problems?

View 1 Replies View Related

Fedora :: Executable File Into The '/etc/cron.daily' Directory

Jan 19, 2011

I have noticed that in the /etc directory there are some subdirectories of /etc/cron.daily and /etc/cron.hourly. Also I have determined that there is a service included as part of the Fedora OS 'crond' which I have started with the use of 'service crond start'. My question is this. If I drop an executable file into the '/etc/cron.daily' directory will it just run? If not what configuration files should I go about editing to run my executable daily? There seems to be a pretty large network of cron related files. I'm trying to make sense out of all of it.

View 9 Replies View Related

OpenSUSE Multimedia :: Trying To Play Xvid File / Cannot Play All File Formats

Sep 13, 2010

I downloaded the xvid codec from: PackMan:: Informationen zum Paket xvidcore, and the install was successful.I'm trying to play an xvid file, and Kaffeine is saying it cannot play all file formats, would I like to install additional support. When I click yes, it asks me for additional repositories.

View 3 Replies View Related

Fedora :: No Output From Cron Jobs In /etc/cron.daily

Jan 29, 2011

I have added some executable scripts to /etc/cron.daily but don't get the stdout/stderr output from them as mail (or anywhere else I have found). At least one of them is running (because I can see that it has added a file to the disk).

The peculiar thing is that I do get the output from /etc/cron.daily/0logwatch (part of the logwatch package) as an email each day.

The MAILTO line in /etc/crontab is "MAILTO=root" (unchanged from default). Same for /etc/anacrontab.

I do have an alias at the end of /etc/aliases which redirects root's mail to my own account, but this alias works fine for mail I send manually. (It also appears to work fine for the output from the file /etc/cron.daily/0logwatch.)

View 3 Replies View Related

Ubuntu :: Setting Up Cron For The First Time Not Working?

Aug 17, 2010

I've read a lot on how to setup a task in crontab. I think I understand how to edit the file, but when I try to save the changes, it says "no crontab for xxx." Then it says that it cannot create a new crontab. I have ubuntu desktop 9 running as a webserver. I've read the details in these posts and it isn't helping.

[URL]

View 3 Replies View Related

Ubuntu :: Scheduling Cron Job In Different Time Zone

Jan 22, 2011

I have a script to record a weekly radio show from a Sydney radio station.I am in Brisbane.Sydney and Brisbane are both in the same time zone but Sydney(NSW) bounces around on daylight savings time and Brisbane(QLD) does not. Is there a way to specify a timezone for a specific job in the crontab file? If so what would be the format for Sydney so it follows the daylight savings time changes? Right now I will just change the cron schedule when Sydney goes on and off DST.

View 9 Replies View Related

Slackware :: How To Create Cron Job To Execute At Same Time Each Day

Nov 11, 2010

I was thinking of creating a little audio alarm clock with an mp3 and mpg123 to play a song from a cron job each day. How do you specify the time of day to execute a cron job?

View 4 Replies View Related

OpenSUSE Multimedia :: Can't Get Media To Play?

Jun 21, 2010

I can't get my media to play. I click on the song I want and it just hangs there. When I go to configure amarok and hit test sound it plays just fine. I've installed the packman repo and followed other instructions on getting media to work but I just get nothing.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved