Software :: Prevent Rsync From Running If Another Instance Is Running?

Mar 29, 2011

On my crontab there is an entry to run a script I wrote that backs up my local files to my remote server. It was working great, running once a day. However, I now want to make the script run every hour.The problem is that if there are too manyfiles to transfer (Example:I ripped a DVD in the last hour) the actual backup may take longer than 60 minutes.So I want to modify the script to check if my backup script, based on rsync, is running. If rsync is still running then do nothing and exit the script. If it is not running, execute the script as normal.

View 5 Replies


ADVERTISEMENT

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.

View 1 Replies View Related

Slackware :: Possible To Keep Pan Instance Keep Running Remotely Ssh?

Feb 21, 2011

is it possible to run for instance pan remotely via ssh and make that instance of pan running on server, regardless upon closing it via ssh?for example i would love to do: start pan instance via ssh on the server keep it open while downloading close the ssh session, keep the pan running on the server in background. open ssh session and access the same instance of pan running on the server etc something in that loop.im unable to do that because when i close pan ssh remotely the instance automatically terminates on the server.

View 8 Replies View Related

Ubuntu :: X Apps Via SSH - Displaying Already Running Instance Of A Process

Jan 5, 2010

how to configure X11 forwadring over SSH so, that when I open any app over SSH, I get displayed window of a process that is already running on my server (in case its running ), not a new instance of it.

View 3 Replies View Related

Server :: Using Apache As A Front End To A Running Tomcat Instance?

Jul 20, 2010

I am having a problem.I use Ubuntu 10.04 server edition.Two computers on LAN one with Public Ip A other with local (Class C IP)say it BWith a third computer in same subnet I can access a TomCat application running on B as http://Ip of B:8080/applicationI want to use A as a Reverse Proxy for this application to be reachable from internet.So on Googling I came across some thing known as mod_ajp I enabled that on my Server A asa2enmod proxya2enmod proxy_ajpa2enmod headersbut after that I am not able to understand as how do I define vhost to be able to forward HTTP request which come on A as www.myserver.com/appto B which I can see internally as http://Ip of B:8080/application so Tomcat on B handles this.

View 4 Replies View Related

Debian Installation :: Wheezy- No Running Instance Of Xfce4-panel?

May 15, 2011

I posted this same issue in the Xfce support forums this morning. So far, no replies. This morning, using Synaptic, I finally upgraded my main Wheezy Xfce 4.6 computer to Xfce 4.8. There were 225 upgrades, plus 33 new things to be installed. It has been about 2 weeks since I last fully upgraded that system, so I'm sure that not all of today's upgrades were directly related to Xfce 4.8.

I waited to upgrade as long as I did because Wheezy's been getting a steady stream of Xfce 4.8 upgrades for the past several days -- I wanted to wait until that stream stopped, to reduce the chances that I would run into an upgrade problem that was on the verge of being fixed.

The only issue I had was that, in the middle of the configuration step (for lib6, I think), it asked me to either stop or restart xscreensaver before continuing (so that I wouldn't get locked out of the current session), so I completely stopped xscreensaver.

View 5 Replies View Related

Ubuntu :: How To Control Running Instance MPlayer From Bash Script

Nov 23, 2010

I am starting an instance of mplayer from a bash script, opening an audio stream:

Code:
mplayer [URL]

How do I do to control this mplayer instance from another script? I want to control volume and pause it from within the bash script. I know the commands for doing so from terminal, but once mplayer gets started from the script, how do I 'direct' the commands to that specific mplayer instance?

View 9 Replies View Related

General :: Activate Skype Already Running In Taskbar Instead Of Opening New Instance?

Jan 19, 2011

I am setting up a laptop for an old person who has trouble locating the skype icon in the notification bar.
I want clicking on the skype desktop icon to open the window of already running instance instead of a new one (like it happens in Window$).I am using Lucid puppy 520.

I want the icon to link to script which checks if skype is already running, and if it is, it de-iconifies the skype window

View 2 Replies View Related

General :: Make A Launch Command Set Focus To An Already Running App Instance In Ubuntu?

Feb 11, 2010

I'm using a program called easystroke to invoke commands from mouse gestures - typically to launch an application. 'gnome-terminal', for example. If I already have a gnome-terminal window open, and I invoke the gnome-terminal gesture, I'd like to be setting focus to the already running instance, rather than spawn a new instance, which is of course what happens now. (I am actually more interested in this for my gmail chrome app shortcut, and other larger apps.)

I'm very new to ubuntu and linux in general, but I was hoping there might be a nifty command I could wrap around my launch command that would produce this behavior. (I'm imagining some kind of singleton app list keeper program that consumes my command line, checks if it's already in the list, transfers focus to the running process if it is (and if that process is still running), or else spawns a new process and then adds it to its list using the the command line as a key.)

View 2 Replies View Related

General :: Prevent RC Commands From Running?

Mar 17, 2011

I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.

View 2 Replies View Related

Ubuntu :: Prevent Hibernation While Script Running?

Jul 12, 2010

Running 10.04 32bit. Is there a way to prevent hibernation from kicking in while a specific script is running?

View 1 Replies View Related

Ubuntu Installation :: Prevent Installer From Running?

Feb 12, 2011

I have a persistent usb key with Ubuntu 10.10 Netbook remix. I need to know how to stop the installer fro0m running on boot so that it just goes to the desktop

View 1 Replies View Related

General :: Video Prevent Screensaver When Flash Is Running

Apr 6, 2011

I apologize if this is the wrong place to ask, or if this has been asked before, but it has been bugging me for some time and I have not had any luck with it. I imagine that my problem is not unique to my circumstances, but here goes.I am running Arch Linux, and quite frequently watch videos, particularly flash, in fullscreen. However, eventually, the screensaver appears, and starts dimming the screen. I have the screensaver set to run whenever the computer is 'idle'. Does anyone know a way to either.Stop the screensaver from appearing when in a flash video or watching other video?Stop the screensaver from appearing when a flash video or normal video is full-screened? Heck, even..Let the screensaver know that my machine is not idle when watching flash.

View 1 Replies View Related

Security :: Prevent Normal Users See All The Processes Running On The Box?

Dec 30, 2010

I've a Linux box with few users (with shell). I would like to prevent normal users see all the processes running on the box. How can I implement this?

View 1 Replies View Related

Fedora Security :: How To Prevent The Appearance Changing Window Running

May 21, 2009

I want to prevent users changing the wallpaper, as i couldn't found any direct method I thought of preventing the /usr/bin/gnome-appearance-properties being running,

I know that the user also can set the wallpaper without running that . But didn't found any other way .

I tried to use SELinux to it and I'm stuck at writing a own policy.

According to SELinux, it prevents everything ., but as i have mapped the user to a SElinux user ,even though he can use administrative tasks , he can run the appearance window. that means he has got the permission from a different policy , Currently I'm stuck at this place.

Suitable way to prevent the wallpaper being changed by the normal users.

View 1 Replies View Related

Server :: Prevent Flash From Running Threads In High Priority?

Nov 21, 2010

Prevent flash from running threads in high priority

View 6 Replies View Related

General :: Rsync Runs Back Up But Process Is Already Running The Same Backup

Sep 15, 2010

I have cronjob that uses rsync to back up to a remote directory every hour. how do I set this rsync up so that if initial process is running already, it prevents running same rsync command and checks again in next hour until the process is finished/terminated?

View 5 Replies View Related

Ubuntu Installation :: Where Is The Skype Icon Of The Running Skype Instance

Apr 30, 2011

Since there is no notification area any more in 11.04, where is the skype icon of the running skype instance?

View 2 Replies View Related

Ubuntu :: Existing Rsync Running And Copying Info To Hard Drive?

Nov 30, 2010

I have a home network that includes a couple of computers {A, B, C, D}. currently, I have a cron jon that runs every minute and updates (using rsync) the hard drives of computers {B, C, D} with the contents of hard drive {A}. So far everything works great, as hard drive {A} barely has any information on it. Now, I am about to copy a lot of information (about 8 GBs) to hard drive {A}. Naturally, the cron job will run (as it runs every 1-min) and try to 'sync' the contents with hard drives {B, C, D}.

Given my network (100Mbit/sec), there is no way the cron job will be able to 'copy' the contents to hard drives {B, C, D} in one minute. It will take much more time. Does this situation create a problem? meaning, will cron re-run a new rsync instance 1min later, even though an existing rsync process is running and still copying information to hard drives {B,C,D}? Will my backups be hurt / slowed down tremendously because of this?

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

Ubuntu Networking :: Cannot See Network Icon - Nm-applet Running - Notification Area Running

Dec 25, 2010

Hi. I have Ubuntu 10.04, nm-applet is running in the background, my battery icon and sound icon are showing but my network icon has been missing for the past 2 days. It was working fine before but now it's not. How can I fix this issue if I don't have an ethernet cord? Is there a way to roll back the recent updates or do I need to reinstall my network manager?

I've tried restarting the system and I've tried killing nm-applet and reloading it using Alt F2. I get some Debug error.

When I try to run nm-applet --sm-disable

It says an instance is already running and then gives me a warning.

I tried removing "iface eth0 inet dhcp" from /etc/network/interfaces and then tried restarting by "sudo /etc/initi.d/networking restart"

It says:

What can I do to connect to the internet? I have a flash stick if its possible to download a .deb package on this mac and transfer it over to my other laptop to fix the problem. If its possible.

View 7 Replies View Related

General :: Why Does Running A Program In Bash Work, When Running It In The Menu Doesn't?

Jul 26, 2010

I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....

I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).

View 1 Replies View Related

Programming :: Suid Disabled From Running All Scripts Or Just From Running Them As Root ?

Sep 4, 2009

Is suid disabled from running all home made bash scripts or just from running them as root or:

Who would know for sure.

I googled several combinations of Mandriva Linux how-to suid disabled setUID etc... so far all I found was "many distributions are disabling suid for security reasons" nothing specific.

View 2 Replies View Related

Red Hat :: Running IPmonitor To Monitor The Disk Usage On Our Servers - Running Df -h

Mar 19, 2010

We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.

View 5 Replies View Related

Ubuntu :: Processor Running At 100 Percent - Fan Is Running At Max Speed

Apr 5, 2011

I can't figure out why but my processor is running at 100% on all four cores, and the fan is running at max speed. All I did was double click an a.out file created by g++, and it is running at full speed now.

[IMG]file:///tmp/moz-screenshot.png[/IMG][IMG]file:///tmp/moz-screenshot-1.png[/IMG]

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

Hardware :: Pc Generate Less Heat Running Than It Would If It Were Running XP?

Dec 15, 2010

My wife's portable's fan is not working well and the manufacturer (LG, or more aptly, LNSG - Life's not so good!) will not or cannot supply a replacement. So, I was wondering if linux is cooler than XP.

View 2 Replies View Related

Ubuntu Networking :: Remote Access A PC (running Winxp) From Laptop (running Ubuntu 10.10) Over Internet

Jan 12, 2011

I need to remote access a PC(running winxp) from my laptop(running ubuntu 10.10) over internet.

View 1 Replies View Related

General :: Error:backend-not-running Backend Not Running As Expected (yumex Will Close)

Mar 9, 2010

i installed yumex:yum -y install yumex, when i start yumex it came with this error:fatal error:backend-not-running backend not running as expected (yumex will close) how can i solve it?

View 10 Replies View Related

Ubuntu :: Links From Widgets - Task Bar Shows An Instance Of Konqueror And Another Instance Of Firefox

Feb 15, 2010

I have KDE 4.4 and Firefox 3.6. Whenever I click a link from a plasmoid widget, it tries to open Konqueror and another instance of Firefox. The page actually loads in the opened Firefox window, but the task bar shows an instance of Konqueror and another instance of Firefox, that keeps loading for a while then close. See image below:

I currently have setup the browser default application as "firefox". If I set this option to use the default application, it opens in Konqueror and I don't see additional windows in the task bar. If I change the option to "firefox %u", then it exhibit the same issue, but the process is much faster, so the loading windows don't stay for long in the task bar. Additionally, it opens the link on a new Firefox window and opens the page twice. Although Konqueror is not loaded, the bouncing icon next to the mouse pointer shows up and stay for a while.

View 1 Replies View Related







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