General :: Get Crontab To Execute Process Every 10 Minutes?

Jan 31, 2011

I am trying to get a process ( SARG access log report tool ) to run every 10 minutes but I cannot get it to work.
Here is the content of the crontab file
______________________________
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command

[code]....

View 5 Replies


ADVERTISEMENT

General :: Crontab Syntax - Running Script Once Every Five Minutes

Jan 25, 2010

I am planning on running a script once every five minutes, and the syntax that comes to mind in doing this is the following:

Code:
5 10 15 20 25 30 35 40 45 50 55 * * * * /apps/<script>.pl
Is there a better syntax to use to accomplish this task, or is the above example the way to go?

View 2 Replies View Related

General :: Crontab Path When Execute Job

Apr 1, 2010

I have and entry in a crontab for my user (appadmin) that when it executes it does not start with the proper path. It needs to start as the appadmin user as appadmin owns all the directories for glassfish. However, once glassfish restarts, the hudson application cannot find the default JDK. I get an error. If I initiate the restart via command line, all works as it should. I believe it has something to do with PATH in the crontab but am not sure what I need to set the PATH to in crontab.

View 1 Replies View Related

General :: Script Don't Execute Itself Using Crontab Although It Works Manually?

May 26, 2010

One of my script don't execute itself using crontab although it works manually.

=> /var/log/cron
/var/log/cron show these 2 lignes at sheduled time
May 26 09:59:01 COMPUTER crond[26439]: (root) CMD (/usr/local/bin/script)

[code]....

View 6 Replies View Related

General :: Crontab Not Working \ Edited Crontab File Using Crontab -e?

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

General :: Execute File In Different Process On Ubuntu?

Oct 28, 2010

Means I want to execute two executables one by one at the same time as shown below:execute1
execute2these are two executables. but the second one is executed after 1st one is closed is there any way two execute both.One way isgnome-terminal -e execute1execute2but here i want to hide the terminal window..........

View 3 Replies View Related

General :: Check If Process Is Running / If Not / Execute Another Script

Jul 11, 2011

I have a game server running using java, and it tends to crash sometimes, and only way to start it now is manually, so i thought i could create a script to check periodically if java is running, and if it isn't, run my startup script for the game server also, if it's possible it should log when it actually started the server startup script into a text file or something, so i can check why it crashed.

View 6 Replies View Related

General :: Give Permission To Execute Process As Super User?

Jul 27, 2010

I have a program(that is written by me) which need super user permission to execute it. But I need to let the normal users to execute it without using 'sudo ./executable' and just './executable'. how i can set the program to execute by the normal users without using 'sudo' or password prompting.

View 2 Replies View Related

Debian Configuration :: When Root Crontab Is Edited The Execute Flag Is Removed?

Mar 3, 2011

I have been having trouble setting up a daily backup script with cron. It would basically never worked. Searched the net for answers but didn't find anything. I finally figured it out !! When root crontab is edited the execute flag is removed from #/var/spool/cron/crontabs/root. I change it with #chmod a+x /var/spool/cron/crontabs/root and all is good.

View 5 Replies View Related

General :: Possible Disabling Crontab Job Without Deleting Crontab Description Entry

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

Ubuntu Installation :: Boot Process Taking About 5 Minutes

Mar 18, 2010

I have just installed Ubuntu for the first time using a USB drive and everything went fine during installation. However now during the boot phase I see 10 or so lines of
[14.24024] ata5: COMRESET failed (error=-16)
The numbers prior to COMRESET change with each line but the rest remains the same. I am extremely new to Ubuntu or Linux for that matter as this boot process is also taking about 3-4 or even 5minutes as it slowly cycles through each error. Once 10 or so lines have popped up the computer finishes starting and I can log in fine and everything.

View 1 Replies View Related

General :: Failed To Execute Child Process "realplay" (No Such File , Directory) / What To Do?

Sep 16, 2009

What can I do about this?
Failed to execute child process "realplay" (No such file or directory)

using gdome Ubuntu, realplayer is in my Home folder (RealPlayer11GOLD)

View 3 Replies View Related

OpenSUSE Install :: 11.3 - Delay / Hanging Of 3 Minutes During Boot Process

Aug 4, 2010

Every time I boot up OpenSUSE 11.3 it hangs at the same "position" for approximately 3 minutes and then continues to boot. Unfortunately I see no corresponding error log e.g. in dmesg output. Hence, I don't know what is the reason for that. Here is my dmesg output. The delay occurs at 20 seconds after beginning of boot process (line 1085). I also analyzed the boot process with bootchart.
My computer: Notebook Lenovo ThinkPad R400.

View 9 Replies View Related

Ubuntu :: Running Process Eats Up Buffer Cache For Up To 20 Minutes After Run?

Apr 18, 2010

I'm running a pretty heavy-weight process (Rails tests) that involves several worker processes, in an effort to parallelize the runs. To measure the performance impacts, I run hdparm -T /dev/sda to give me the cached read performance. Note that the disk IO is not being measured, but the disk cache IO is. It works very well on my work machine (8-core Mac Pro running Ubuntu with 8GB of RAM).

The baseline is:
honk4:~ $ sudo hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 13224 MB in 2.00 seconds = 6616.86 MB/sec
In the middle of the test run:
honk4:~ $ sudo hdparm -T /dev/sda

[Code]...

View 2 Replies View Related

General :: `mencoder` Captures 10 Minutes Of Audio In Less Than 10 Minutes?

Mar 15, 2011

I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.

I narrowed down the problem to the following command line:

$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69
real 9m54.886s
user 0m5.536s
sys 0m1.740s
$ ls -l test-32000.wav
-rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav

Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?

Since the machine's restart, I've also noticed dmesg is flooded with entries like this:

CE: hpet increased min_delta_ns to XXX nsec

Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?

View 2 Replies View Related

Ubuntu Servers :: Crontab "randomly" Doesn't Execute

Aug 23, 2010

I am running ubuntu 10.04 as a web/file server. I have set up several cron jobs in the past which until recently were executing normally. However, a few days ago, cron jobs stopped executing after a restart. I was able to fix the problem by deleting and reentering the cron jobs, but only until the next restart. ps -ef lists cron.

Summary:
1.) Cron was working --jobs executed without error and restarts worked fine
2.) Cron jobs stopped executing after a restart about a week ago --ps -e still lists cron
3.) Removing all cron jobs and reentering them by copying and pasting fixes until next restart
4.) Cron job syntax is known to be correct since they were executing before this problem arose.

View 5 Replies View Related

Software :: Execute A Program As The Very Last Step Of Boot Process?

Feb 2, 2011

I want to execute a program at the very last step of Linux boot process. For Debian based Linux distro that uses BSD boot process, I came up with 2 solutions:

1) I should somehow call my program from the /etc/rc.local script (although is this the last step of the boot process?)

2) Use the "multi_end" and "sysinit_end" hooks for executing it at the end of rc.multi rc.sysinit respectively (I don't know how to do it though).

View 6 Replies View Related

Debian :: Monitor Running Process And Execute A Command When Change?

Jan 31, 2010

I want to monitor the process running and execute a command if some new process start. For example send a mail if any new process start.

View 1 Replies View Related

OpenSUSE :: Failed To Execute Child Process (Permission Denied)

Jul 11, 2011

I'm trying to start a program, but I keep getting the error:

"There was an error launching the application." Details: Failed to execute child process "/home/jjo/Desktop/0ad/build/resources" (Permission denied)

I've tried changing the permissions of the file, with no luck.

View 9 Replies View Related

Ubuntu Servers :: How To Use Start-stop-daemon To Execute Process

Sep 27, 2010

I've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.

I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.

View 2 Replies View Related

Ubuntu :: Failed To Execute Child Process Skype-wrapper?

Apr 6, 2011

Just figured this one out and thought I'd post it here in case it helped someone else. Skype just upgraded itself from 2.1 to 2.2. After upgrading it didn't start, and I got the message

"failed to execute child process skype-wrapper" First test out if skype runs from the command line, by running this in a terminal

Code: skype & If it runs, you're good to go: simply right click on the menu, locate your entry for skype and change the command to launch it from skype-wrapper to skype. The reason for this is that in the 2.1 version, skype needed a script called skype-wrapper to set some varibles before start up. Upgrading removes the script, but failed to update the menu entry.

View 5 Replies View Related

Ubuntu :: Execute Bash Script After Running Process Finishes?

Jul 28, 2011

I have a computation going which takes a long, but uncertain, amount of time. I have another computation which needs to be run, but _after_ the first one is done. I won't be at the computer at that time to manually start the new process. I've done some Googling, and I found how to delay execution by a specific amount of time (e.g. "start process x in exactly 8 minutes from now), but that isn't quite what I want to do. Essentially, I'd like to tell the shell, "When process #nnnn finishes running, then start process x". Is there a way to do this?

View 6 Replies View Related

Installation :: Failed To Execute Child Process (no Such File Or Directory?

Oct 26, 2010

I just installed Maya 2009 on Fedora 13.It seemed to run the RPM install fine, but when I go to Applications > Graphics > MayaI an error:Could not launch 'Autodesk Maya 2009 (64-bit)
Failed to execute child process "/usr/autodesk/aya/bin/maya"(no such file or directory)I browsed to this location in the file browser and there definately is a file called maya in "bin"

View 1 Replies View Related

Software :: Wine + Slackware's = Failed To Execute Child Process

Oct 22, 2010

Every time I try to execute a .exe file it says

Code:

Failed to execute child process

but when I type wine and the file it says

Code:

bash-4.1# wine
bash: /usr/bin/wine: No such file or directory

View 1 Replies View Related

Ubuntu :: In Circles With Skype - Failed To Execute Child Process - (No Such File Or Directory)

Oct 15, 2010

There seems to be a common solution to get the webcam working with Skype - rather than launching with Skype you launch with LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype - so far so good. When I do this I get the error There was an error launching the application. Details: Failed to execute child process "LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so" (No such file or directory). But I do have that directory and file on my system.

A ubuntu community doc talks about the terminal command sudo ld.so.preload-manager when I action this I get sudo ld.so.preload-manager /usr/lib/libv4l/v4l1compat.so [sudo] password for dad: sudo: ld.so.preload-manager: command not found

View 9 Replies View Related

Ubuntu :: Init: Failed To Spawn Ufw Pre-start Process: Unable To Execute: No Such File Or Directory

Jun 12, 2010

I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also

/var/log/boot.log

Code:

fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory

[code]....

Now I am using Live CD.

View 3 Replies View Related

Ubuntu :: Init: Failed To Spawn Network-manager Main Process: Unable To Execute: No Such File Or Directory

May 27, 2010

I just updated from 9.04 to 9.10 (it's a long story, and I still can't go beyond 2.30).The update got rid of WICD, which is what I used and installed network-manager. Network-manager was not working at all, so I uninstalled it again and installed WICD. I could connect perfectly and had no problems.However, now the computer hangs during boot, saying that init can't start network-manager. I assume that something went wrong during the uninstalling process, since it wasn't updated.

This is the message: init: Failed to spawn network-manager main process: unable to execute: No such file or directory.

So how do I update it or manually change it so it stops requesting network-manager?

View 3 Replies View Related

Software :: Init: Failed To Spawn Readahead-collector Main Process: Unable To Execute: No Such File Or Directory

Apr 6, 2011

My machine is dual booted with Fedora 14 and RHEL 6. (I have only installed Red Hat because I am studying for RHCE). Just now I tried to install the Banshee player on my Red Hat OS. I ran various scripts inside the directory to see what really happens and after I ran the 'Makefile.in' file my terminal froze. It displayed '/bin/ not found'Then i restarted my computer and I got the following messages:

init: Failed to spawn readahead-collector main process: unable to execute: no such file or directory
init: Failed to spawn rcS main process: unable to execute: No such file or directory
init: Failed to spawn readahead main process: unable to execute: No such file or directory

[code].....

I tried run level 1 and run level 3 but I get the same error messages.

PS: My Fedora 14 installation is working fine.

View 1 Replies View Related

General :: Difference Between /etc/crontab And "crontab -e"

May 29, 2011

What is the difference between the crontab located in /etc/crontab and the crontab that can be edited using crontab -e?

View 2 Replies View Related

Fedora :: Creating A Launcher - Error "Failed To Execute Child Process"

May 8, 2011

I am trying to create a launcher in Fedora 13 which will run a simple script named proj4a. I run this script from the command line as follows: $ /home/enowak/proj4a >/home/enowak/proj4a_out where proj4a is an executable file in my home directory and the output goes into a file, proj4a_out, in my home directory. Everything works fine.

I created a launcher called Proj4a and in the command field I entered the following: '/home/enowak/proj4a >/home/enowak/proj4a_out' When I click on the launcher it comes back with the following: There was an error launching the application. Details: Failed to execute child process "/home/enowak/proj4a >/home/enowak/proj4a_out" (No such file or directory) I can't for the life of me figure out what is wrong here. Does anybody see what I'm missing?

View 3 Replies View Related







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