Ubuntu :: Cron-started Arecord Stops Running Too Early?

Jul 16, 2010

I have a cronjob which is supposed to run every 15 minutes and record with arecord for 900 seconds. When I run the script manually, arecord record for 900 seconds, but when cron starts the script it stops recording after about 90-110 seconds.

Code:

rndusr@0x90:~/ralog$ cat rec.sh
#!/bin/bash
YEAR=$(date +"%Y")
mkdir /home/rndusr/ralog/data/$YEAR

[code]....

View 3 Replies


ADVERTISEMENT

Software :: Vixie-Cron Not Running /etc/cron.d/

Feb 9, 2011

Is my vixie-cron broken? i have "0-59 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" but it is not running in /etc/cron.d.

Code:

View 2 Replies View Related

Fedora X86/64bit :: Running Emacs 22.3 Under An X86_64 Running FC10 - Stops Responding ?

Jul 19, 2009

After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.

If I run one session of emacs everything works fine.

Once I start a second session and try to resize or move the emacs window, the system stops responding.

View 1 Replies View Related

Programming :: Cron And Fsarchiver Reportedly Running Not Actually Running?

Jun 1, 2010

My root Vixie cron crontab is set to perform a system snapshot via fsarchiver: 0 0 * * * fsarchiver savefs -o -A /backups/p30_root.fsa /dev/sda2 /dev/sda3 The command itself works fine, generating about a 7G snapshot of my Suse server. I then wish to rsync this to a NAS I have located in another building: 0 3 * * * rsync -av -e ssh --delete /backups/ root{at address}:/DataVolume/os_backups/

(yes, I'm rsyncing as root. I absolutely loathe it, but I got thrown into an quasi-SA position with a ridiculous to-do list and no time to do it. I'm having to make things just work and then go back and try to improve them/learn how. I couldn't make it work in a non-root way quick enough, so for now I'm having to cron rsync jobs as root because of all the differing file permissions on this samba/MySql server. I set the NAS to only accepts ssh from the server IP, and we're behind a campus firewall... It's serious trial by fire.) The crontab also has rsync commands for the samba areas, our specialized chemistry software and affiliated MySQL databases............

View 2 Replies View Related

General :: Fan Keeps Running Once Started?

Feb 28, 2011

My problem is that my fan will keep running quite quickly once started. It will keep running till reboot independently of CPU usage and temperature. To check the temperature I installed lm-sensors. Output of temperature related commands and kernel version are below. Shouldnt they all give the temperature? My machine is a Toshiba Satellite pro L300. Eg. at the moment my fan is running quite quickly although CPU usage is 3-4% and the temperature according to lm-sensors is approximately 40-45 degrees Celcius.

Code:
:~$ acpi --thermal
Battery 0: Full, 100%
Thermal 0: ok, 0.0 degrees C
:~$ cat /proc/acpi/thermal_zone/THRM/temperature

[Code].....

View 4 Replies View Related

Ubuntu :: Firefox Started Running Incredibly Slowly?

Feb 11, 2010

Has anyone else noticed that Firefox started running incredibly slowly?It just happened on two of my computers (one 9.10, the other 8.04 LTS).After starting firefox, it just sits and sits while trying to load a page. Even a local page (my router's config page). It literally takes about 5 minutes to load URL...Other internet apps are working fine, including Opera, which is how I'm writing this.

View 5 Replies View Related

Software :: Jack Server Not Running Or Cannot Be Started

Jan 19, 2011

Evidently I need to run Jack Control in combination with Qsynth to play my midi keyboard. That was ok for about a week or so, then Jack developed a problem. This was solved the first time by me unticking the Realtime box in Jack setup, but that has not worked this time. Must I rely on Jack just to have my midi keyboard sound?

The errors messages I receive are:
Could not connect to JACK server as client.
- Overall operation failed.
- Unable to connect to server.
Please check the messages window for more info.

and
12:45:12.427 Patchbay deactivated.
12:45:12.480 Statistics reset.
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
12:45:12.533 ALSA connection graph change.....

View 8 Replies View Related

Ubuntu :: Second Cron Job Isn't Running?

Jan 6, 2010

why my second cron job isn't running? The first one runs fine but the second one does not run at all. If I manually run the script using ./check.sh then it does what it is supposed to but will not run from cron. It should run every weekday at 9:45am, it looks good to me but clearly I am doing something wrong.

Code:
# m h dom mon dow command
#This will backup my hosted websites.
0 2 * * * /home/bob/scripts/websitebakscript.sh
#This will run check and upload it's contents to the net.
45 9 * * 1,2,3,4,5 /home/bob/scripts/check.sh

View 9 Replies View Related

Ubuntu :: Cron Job Is Not Running?

Oct 25, 2010

Cron refuses to work for a newbie.I am trying to setup a cron job to backup a folder in my home directory ('/home/scratch') to a folder ('home/internet_backup') that is mounted (using nfs) to a network folder.the folder ('home/internet_backup') is mounted correctly to the network folder upon system startup, so this part works.

View 4 Replies View Related

Ubuntu :: Cron Job Running But Nothing Happens?

Nov 5, 2010

I am making a webpage which is to be automatically generated every minute. I've created a cron job in crontab like this:

Code:
0-59 * * * * /usr/bin/php /var/www/site/updatestatistics.php > /dev/null

When I refresh the page 'updatestatistics.php' in my webbrowser it does generate a new page ('statistics.html', which is included in 'statistics.php'). But when I let this cron job do the job, nothing happens. I looked into the log file, it shows this:

Code:
(root) CMD (/usr/bin/php /var/www/site/updatestatistics.php > /dev/null)

View 7 Replies View Related

Ubuntu :: Cron Not Running On 9.10?

Apr 3, 2011

After saving a few sample scripts in crontab, I discovered that cron is not running properly on my Ubuntu 9.10 (32 bit), after a recent reinstallation. Please note that the files "/var/log/cron" and "/etc/defaults/rc.conf" are empty in my system.

View 4 Replies View Related

Ubuntu :: Can't Get Arecord To Record Any Sound ?

Mar 13, 2011

I can't get arecord to record any sound. I've tried running firefox with some streaming stuff or even just playing a song with totem from a mp3 on my hard drive. I'm running

Code:

But the resulting test.wav has no sound in it.

I'm running maverick as installed. What gives?

View 3 Replies View Related

Ubuntu Multimedia :: No Sound When Using Arecord

Jun 5, 2011

I'm completely new to ALSA and I'm having trouble using the arecord program.

Using the following command: arecord -t wav -f cd -d 5 test.wav

Creates a .wav file 5 seconds long as expected.

However when playing this file there is no sound.

I've had a look using 'alsamixer' and the capture volume is over half way so I'm assuming it's not that.

View 1 Replies View Related

Ubuntu :: Wine System Tray Suddenly Started Appearing Its Own Little Window When Running Netmeter

Aug 13, 2010

I have been pulling my hair out trying to find out why the Wine System Tray suddenly started appearing in its own little window when running Netmeter, cluttering up the desktop. I searched the web in vain, back many tears, most people saying they couldn't understand it when it happened to them.

Then I realized that the last thing I did was to stop Cairo Dock (the novelty had worn off!) and to move the Gnome Panel to the BOTTOM of the screen in place of Cairo. I suspected this was making the Wine System tray homeless.

So I moved the Gnome panel back to the TOP, restarted Ubuntu, stopped and restarted Netmeter and the Netmeter icon appeared back in the panel where it belonged.

Would I be correct in thinking that Wine System Tray will only stay in the panel if the panel is at the top of the screen?

View 8 Replies View Related

Ubuntu :: Cron Job Not Running - How To Make It Run

Mar 3, 2010

I have a cron job set up to backup my ~/ directory everyday at 10:00. But the cron job is not running. here is my confile that I loaded into crontab...

Code:

#backup everyday @ 10:00 AM and 10:30 AM
00 10 * * * /home/dave/bin/backup.sh
30 10 * * * /home/dave/bin/music_backup.sh

[code]....

the *.sh are executable. I logged out and logged back in since I put the cronfile in crontab. The commands that I use in the *.sh files work fine when I run them manually.

View 9 Replies View Related

Ubuntu :: 9.10 - How To Know If Cron Running Program

Mar 25, 2010

I seem to be having a problem with cron. I have a python program that checks a specific directory for pending email scripts written in python.

Code:
#!/usr/bin/python
import os
emaildir = os.environ['HOME']+"/email/"
filelist = os.listdir(emaildir)
for pyfile in filelist:
if pyfile.find(".py") > -1:
execfile(emaildir+pyfile)

This code has been tested and works fine. The problem is that I need cron to run this code every 5 minutes but i can't tell if it is running: Here is my cron code:
5 * * * * /home/username/custom/CheckEmail.py >>/home/username/custom/email.log 2>&1

I activated the log (I think) but all i get is /var/log/cron.log and that only logs when I activate/deactivate or edit the cron file. is there anything else i need to set for this to work? I am running Ubuntu 9.10.

View 8 Replies View Related

Ubuntu :: Running Script From Cron?

Mar 1, 2011

I still can't figure out why my cron job isn't working. I'm sure I'm missing something obvious, but it's got me beat

I know cron is executing my script (I had it echo some lines to a file at points within the script, and that text showed up, but none of the files/folders are being copied or removed)

crontab looks like this:

Code:
PATH=/usr/sbin:/usr/bin:/sbin/bin
#m h dom mon dow command
*/20 * * * * /scripts/scriptname

[Code].....

View 5 Replies View Related

Ubuntu :: Cron Jobs Not Running?

Jun 2, 2011

I have a cron job that executes fine in opensuse 11.4. It is located in

/etc/cron.d/publish.cron:
jpablo /srv/django-apps/smcommand/scripts/publish.sh

It is correct, I want it to execute every minute. Now, I copied the same script to ubuntu maverick, and it doesn't run. Perhaps there's some ubuntu peculiarity that I'm not aware of?

View 5 Replies View Related

Ubuntu :: Running Cron As Root?

Jun 25, 2011

I have an external usb hard drive that spins down every 10 min. The commands in 'hdparm' do nothing to override the internal settings. So, I wrote a script to touch a file every 5 minutes, and it will run as root because of the mount command, and I want it to run for every user. The script is executable, owned by root, and root is the group, with 755 permissions.

no_sleep.sh in /usr/sbin:

Code:
#!/bin/bash
# Script to keep external drive from spinning down
diskmounted=$(mount | grep Backup | wc -c)

[Code]....

View 4 Replies View Related

Ubuntu :: Cron Jobs Are Not Running And Can't Seem To Figure Out?

Mar 16, 2010

For some reason my cron jobs are not running and I can't seem to figure out why.
Here is crontab -l

Code:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin

[code]...

View 7 Replies View Related

Ubuntu :: Cron Not Running Any Jobs In Lucid?

May 10, 2010

I use crontab for a daily alarm clock, which stopped working after I moved to Lucid.

Code:
$ crontab -l
# m h dom mon dow command

[code]...

View 9 Replies View Related

Ubuntu :: Cron Jobs Stopped Running?

Jun 2, 2011

I am running Ubuntu 10.10 on a new Dell PowerEdge.

I built the system ~2 months ago and have successfully been running a list of cronjobs.

The jobs last ran on 5/31/11 at 7:35am. Since then none of the jobs have run.

I see "cron" in the process list when I run ps.

View 9 Replies View Related

OpenSUSE :: Cron Job Not Running Because Of Pam?

Oct 22, 2010

I am still an openSUSE noob and have been struggeling to get cron jobs running for the past couple of hours...without having success Hopefully a more experienced user can give me a hand As root I used crontab to setup some cron jobs:

Code:
crontab -u api-cebian -e
The resulting cronjob looks like this:

[code]....

View 7 Replies View Related

Server :: Cron Is Not Running ?

Jan 31, 2010

I want to make a cron job for my webserver, only it seems not to work...

I have now the followig to test (every 16th minute of the hour, write test to a file), but it doesn't show up. When I write out the cron, it is done to the file: /tmp/crontab.QXsBIO/crontab . How to make cron work? It must be very easy, but I have real troubles getting it fired up.

My Linux version is debian lenny and the cron file looks like (crontab -e):

(with trailing empty line at the end)

View 3 Replies View Related

Server :: Cron Not Running

Jun 15, 2011

Cron on one of my boxes isn't running and I failed to determine why.

Here are what I have found so far:

Password:

View 6 Replies View Related

CentOS 5 :: Cron Job Is Not Running

Jan 7, 2010

I have created a conjob via ssh by going to crontab -e and adding my scripts like 05 10 * * * /scripts/old-files-delete.sh.The file has 755 permissions and if I run the script manualy it works fine. I have checked the cron log and it does not show up as running at all.

View 5 Replies View Related

Ubuntu :: Cron Not Waiting For MPlayer When Running Script

Jul 31, 2010

I'm not sure if this behavior is Ubuntu specific, but I thought this might be a good place to start. I'm currently running Karmic, though again I don't think it matters. I'm trying to get some experience with cron, since it seems like a handy thing to know. Putting together a script to play some chimes seemed like a simple way to do that. I've since fallen into (and crawled out of) a bunch of pitfalls, and will never make assumptions about the running environment again! Whatever I do, I can't seem to get cron to wait for mplayer to finish while it's running the script.

Here's what I've got:
Code:
#! /bin/bash
### depends on: libnotify-bin mplayer
### DISPLAY=:0.0 must be in crontab
TIME=$(date +'%R, %a %e %b')
#MIN=$(date +'%M')
#HR=$(date +'%I')
MIN=00
HR=12 .....

And since more than half of the script is debugging, it'd be helpful to see the output. You'll notice I've set it to always ring noon, which is the worst case scenario. Here's what I get when I run it from the terminal:

Code:
Time set to 12:00
Tolling: toll43, toll47, toll50, toll53, toll56, toll59, toll02, toll05, toll08, toll11, toll14, toll.
Run at 12:45, Sat 31 Jul, manually
End at Sat Jul 31 12:46:21 CDT 2010.
Nice 2.5 second pauses while it waits for mplayer to play the chime. Takes about a minute.

Here's what cron puts out:
Code:
Time set to 12:00
Tolling: toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll06, toll.
Run at 12:45, Sat 31 Jul, from cron
End at Sat Jul 31 12:45:06 CDT 2010.

The whole thing is done in 6 seconds! Now, I know that it is able to invoke mplayer and find the audio files, because I get about 4 seconds of sound. For some reason, though, it doesn't wait to finish playing each file before moving on. You can see where I initially though adding a sleep command would help, I've also tried adding nohup to the crontab and the case statements, and I've tried adding '& echo "foo"' to the case statements.

View 4 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

Ubuntu :: Fan Stops Running After A Couple Hours?

Apr 17, 2011

I am unsure if this is a hardware problem or a linux problem. My machine is only 3 months old so it is not the fan. I didn't have problems until recently, and after the latest kernel update it got worse - having to restart more frequently.

I do not experience the fan turning off in windows. I use thinkfan when I have to but it isn't a very good program for an every day basis. The fact I can force start the fan with thinkfan when it turns off leads me to believe it is a kernel issue.

View 4 Replies View Related

Ubuntu :: Smtp Running At Start Up Then Stops?

Apr 24, 2011

I was looking for a way to send email to the outside world and installed mutt, and noticed that when my pc starts port :25 smtp is up, so I figured that I could send email to the outside, after a few seconds it shuts down.... what could that be? and do I need to install a full flesh mail server in order to send outbound email?

View 6 Replies View Related







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