Fedora :: Crontab To Set A File Playing At A Certain Time?
Jun 6, 2010
I used crontab to set a file playing at a certain time, this works fine; however I want this to run even if no-one is logged in (but the computer is on). I can't get it to do this
Line is: 30 06 * * * env DISPLAY=:0.0 /usr/bin/totem /home/adunaic/Playlist.pls
Okay I think the problem was with needing a GUI.
Using this instead works, but i only hear the sound when I log in. I think something needs to be doen to start the audio perhaps?
14 17 * * * export DISPLAY=:0.0 && /usr/bin/mpg123 /home/adunaic/alarm.mp3
View 8 Replies
ADVERTISEMENT
Apr 27, 2010
I am using Linux 64 bit Redhat Linux. I am trying to setup simple crontab as follow...1. Edited crontab file using crontab -e2. Listed the file once to verify it using crontab -l. This will display as.. 18 5 * * 2-3 ksh $HOME/testScript.sh > $HOME/testscript.out3. Logged in a root and restarted cron deamon using "/etc/init.d/crond restart"As per my understanding now my testScript should start running at 5:18 am Thuesday
View 3 Replies
View Related
Aug 5, 2010
My VLC player blocks screensaver while playing, but my monitor still turns off when watching for some time. I did a few searches, but I don't see any good keywords so I'm starting a new thread.
View 4 Replies
View Related
Apr 9, 2011
I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh
View 1 Replies
View Related
May 6, 2010
I want to get mail from the crontab log file....
How to set log file in crontab and the second and how can i get mail from the crontablog file.
View 1 Replies
View Related
Apr 21, 2011
My server is in CDT. I want to run one script @9.30am of EST5EDT
View 4 Replies
View Related
May 23, 2010
I want to write a ping script that ping a ip after every 60 sec and log output to a file
View 10 Replies
View Related
Mar 17, 2011
We have configured a script to be run at specific time using crontab.
Code:
# crontab -l
as per the crontab entry script should run every day 11.15 a.m
Every time when the script is executed i get a mail but when i run it using crontab it doesn't send any mail.
However when i execute it manually i get the mails.
Even the execution is getting logged in cron log.
Code:
View 2 Replies
View Related
Jul 28, 2010
I'm trying to back up my database daily at 2:30am. is this the right format?
30 2 * * * mysqldump -u root -pPassword database > backup_$(date +%y%m%d).sql
View 8 Replies
View Related
Oct 31, 2009
I am trying to play embedded mp3 content in FF. When I click on the link to play the mp3, a new tab opens up and all I get is a grey screen. Does anybody out there have any ideas on this? I have run Autoten and installed all of the necessary codecs.
View 10 Replies
View Related
Jul 15, 2011
I m running Fedora 15 i386 release and just performed an update for packages.
Code:
yum update
The PAE kernel and Nvidia driver got updated as well as a few other packages.
When I come to playing a video with Xine I get this error code...
View 3 Replies
View Related
Jul 21, 2011
I was trying to write a crontab entry using "crontab -e"
Code:
0 0 * * * cp /var/log/httpd/domains/mydomain.net.log
/home/admin/logs/mydomain.net.log
crontab is giving me this error:
Code:
"/tmp/crontab.XXXXfMOnRS":2: bad minute
errors in crontab file, can't install.
I've tried a dozen different values for the minute, but it's still giving me the same error.
View 5 Replies
View Related
Jul 17, 2010
I m newbie in Linux. i am using fedora 13, kernel release: Linux 2.6.33.6-147.fc13.x86_64 and my graphics card is nvidia g-force 8400 GS. nvidia driver version is 195.36.31.
now my problem is when i run any video file in any media player, my system just freezes...and only way to get rid that is system reset !!! and it get freezed randomly, sometimes system works fine without halting!! i update my kmod-nvidia and kernel but the problem has not been solved!!
View 3 Replies
View Related
Aug 10, 2010
When I started to play songs, I have the normal sound. However, after some time, the songs are still being played but there is no sound anymore. It is not for music player so I don't think it is a player problem. In addition, after I delete and reinstall the audio card, the sound comes back. I have another problem about sound card disturbing me. When I watch ..... using firefox, there is no audio from the video. However, I do have the audio when the chrome is used. What could cause that? I kind of believe those two problems are related. The problem happens after I upgrade my 10.3 to 11.2 and now I am using 11.3. Does that come from the new configuration conflicts with the old one?
View 5 Replies
View Related
Jun 26, 2011
I've added this packman repo: Index of /suse/openSUSE_11.4/ and installed all the necessary libraries and tools required as mentioned here using zypper: Restricted formats/11.4 - openSUSE Community Wiki When I try to play any movie in VLC I'm able to hear the audio for some time usually 3-4 mins and then audio totally stops though the video continues to play. A random seek or a seek forward/back also cause similar issue almost immediately. I switched the output module in VLC preference to different settings: default, SDL, Unix OSS, Alsa but the same issue persists. The audio recovers if I just enter the Audio settings menu in VLC preferences and click Save (even without changing anything) but after the same 3-4 mins or by seeking, the audio stops.
I disabled Pulseaudio for my sound card(s) in Yast->Sound, and I even kill the pulseaudio process but it somehow starts itself up again when I change anything in VLC audio preferences or even simply click Save without any changes. I've made sure all the multimedia related packages are installed from the packman repo whenever possible (I still observe there are few packages which do not exist on the packman but the openSUSE 11.4 repo alone eg. phonon-backend-gstreamer, phonon-backend-xine) Here is the rpm query output for the multimedia related libraries:
Code:
rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' --all 'libav*' 'libpostproc*' 'libswscale*' '*xine*' '*gst*' MPlayer '*vlc*' | grep -v avahi | sort
banshee-1-backend-engine-gstreamer-2.0.0-0.3.2-x86_64 -> openSUSE
[code]....
View 4 Replies
View Related
Feb 2, 2011
I'm using Ubuntu 10.10 and as a newbie to linux based operating systems, has tried but without success of playing WoW with wine. I tried with making a link to ''wow.exe'' and right-click ''open with wine windows program loader'' but ended up with a blue screen and a black square as my pointer, i can heard the login music but no picture. Can anyone give me some instructions on this issue, preferably with some pictures.
View 1 Replies
View Related
Mar 10, 2010
I've worked out how to get ALSA libasound code working for an application. However I can't workout how to get multiple sounds working at once. I can't seem to find any google examples of mutiple sounds. EG tune plays while pressing buttons makes clicks. I'm using an embedded board so need to use ALSA not an addon e.g. sdlmixer, jack, etc.
View 3 Replies
View Related
Jun 23, 2011
is it possible disabling a crontab job without deleting the crontab description entry (by crontab -e)?I could also accept to change the entry itself. Now it's:0 0 * * 0-6 /home/me/cron/script.csh
View 4 Replies
View Related
Aug 4, 2010
I have a .sh file which i want to run using crontab at a specific time with root privilege.
I put an entry in root's crontab as the following:
sh /home/vivek/ifconfig/college.sh
But, the file do not get executed at a given time.
View 1 Replies
View Related
Apr 15, 2010
A couple days ago I noticed cron stopped working and now I can't create a new file using crontab -e. When I hit crontab -e I get the editor but after saving nothing comes up under crontab -l and the file is blank when I reopen it. I don't have a cron.allow or a cron.deny.
View 4 Replies
View Related
Feb 11, 2011
i want to do scheduling using /etc/crontab file instead of using crontab -e that is crontab command on the terminal.i am appending to the crontab file in the /etc directory but the scheduling is not happening
View 7 Replies
View Related
Jun 7, 2010
I attempted to run various cron jobs as root - just general server make-tidy stuff. But if I edit the /etc/crontab file directly, these tasks don't get run. However, if I use crontab -e as root, these jobs appear to work. Any idea why this might be the case? Also, I understand that user cron jobs are stored in /var/spool/cron/<user> (including root). If this is the case, what's the purpose of the /etc/crontab file?
View 5 Replies
View Related
Jul 14, 2010
I want to append a text string onto an existing file from crontab. These do not work:
0 1 * * * cp "test" >> /home/xys/myfile.txt
0 1 * * * mv "test" >> /home/xys/myfile.txt
0 1 * * * cp 'test' >> /home/xys/myfile.txt
0 1 * * * mv 'test' >> /home/nys/myfile.txt
How can this be done?
View 9 Replies
View Related
Oct 8, 2010
I've tried to create a crontab that renames a fil extension every minute. This is what I've tried:*/1 * * * * / rename /home/bodil/Avräkningsfiler/'s/.txt/dat/' *.txtBut it doesn't seem to work.I've also tried to create a .sh file in the catalog itself with the command executing directly in the catalog but even though running the command by typing it in, it doesn't run automatically by cron
View 10 Replies
View Related
May 3, 2011
I have this code that is 'bashed' regularly with crontab and basically it will send me an E-Mail of most of the output but it misses out some of it!
Here is the crontab code to automatically run the script:
Code:
So that sends me an E-mail with most of the output of the following code:
Code:
It sends me everything up to echo "*******" "Begin compressing and transferring files" "*******" but it wont output the tar bit.. so it should give me a list of files that have been tarred.
View 1 Replies
View Related
Mar 19, 2011
I am trying to have the files from /user/directory copy every hour to /backup/user/directory. It would seem that cron or crontab is what I need to use. Looking at previous posts and other documentation only shows how much I don't know. When I type crontab -e I get a blank file I can type into, seemingly using vi as the editor. I have no problem with that but when I type cron -l, I get my text after a message about "Do Not Edit this File". What I am reading just makes no sense, I am not understanding even the most fundamental aspects of cron or crontab. Where I can get the most basic of basic instructions to try to understand this function?
View 4 Replies
View Related
Nov 21, 2010
I am trying to run rsnapshot from cron via root's crontab file (crontab -e). If I run rsnapshot from the command line with sudo it works perfectly, however, if I run it from cron:
Code:
* * * * * /usr/bin/rsnapshot hourly >/tmp/crontab.out 2>/tmp/crontab.err
This does not work. The crontab.err file shows:
[Code]....
View 2 Replies
View Related
Dec 29, 2010
Is been a while since I was last here requesting help. Now I need some of that LQ magic. I have a script file that extracts data for a date range, create a zip file for the data and then ftp it to a remote server.
Now the script is working perfectly if it is run manually, but now I want it to execute automatically. So I use the crontab, but for some reason the script fails when run from the crontab.code...
View 3 Replies
View Related
Mar 14, 2011
I am using squid 2.6 on my cent os 5 .I want to shutdown the system at 7:00 pm for that purpose I write in# crontab -e 0 19 * * * /sbin/shutdown -h nowThe thing which I want to clear that when the system will going to turn off it will also stop squid service? If not then how can I automatically stop squid service and then crontab file execute
View 6 Replies
View Related
Dec 3, 2009
How do I know the time and date of a file downloaded from the net. Is it possible at all? If I want to know when the downloaded file such as a text file was created ie written by the author if not mentioed at all in the entire document. The command I use locally to know file creation time is given below.
Code:
ls -l filename.txt
-rw-r--r-- 1 root root 691 Dec 3 11:12 filename.txt
View 2 Replies
View Related