Fedora :: Cron Opens Konsole On Script Execution And Leaves It Open?

Mar 14, 2011

I am trying to set up a simple script to automatically invoke streamripper to record my favourite radio shows. The script works fine in a terminal window (Konsole), but when scheduling this as a cron job (KCron via SystemSettings) a Konsole window pops up catching the streamripper output.

Now stramripper can behave with the --quiet option, and I set output redirects "> /dev/null 2>&1". Inside the script or on the command line of KCron.

Quote:

sh myscript.txt >/dev/null 2>&1

...or just as the script without the "sh" command. Same result. Still the same annoying Konsole terminal window pops up, now with no other content than what Cron obviously generates at the end of the script execution:

Quote:

--------------------------------------------------------------------------------
End of script execution. Type Enter or Ctrl+C to exit.
--------------------------------------------------------------------------------

Well, the whole point of this cron scheduling was to avoid manual intervention and create the MP3 file of the radio show automatically. how to avoid the terminal window completely?

Using KDE 4.5.5 and Fedora 13, Kernel 2.6.34.8-68

View 2 Replies


ADVERTISEMENT

Ubuntu :: Cron Leaves Defunct Process When Job Goes Background?

Apr 23, 2011

I'm using cron to run a tunnel. It is a looped script which never exits, and thats why I don't want cron to wait for it. This is a crontab entry:@reboot $HOME/cron/portfw.sh &When I run it manually, everything is ok. But when cron runs it, a defunct sh process keeps running until portfw.sh and it's child are killed. Somehow cron knows that processes spawned in background and keeps waiting for them and ignoring the fact that parent process exited. I tried using setsid to change spawned process group, but it did not full cron, it still knows about child processes

View 9 Replies View Related

Debian :: Where To Retrieve The Execution Path And How To Troubleshoot The Cron

Dec 1, 2010

I'm testing on a VM version in debian LAMP with CGI / FastCGI enabled. My goal is to run a PHP script via cron, unfortunately I can not run it .. I don't understand if I'm using a wrong path for the execution of API CGI or I get lost in the syntax ...

here is my cron:

H # m Sun mon dow command
10 * * * * * / etc/php5/cgi / var / www / import / import.php? Mode = P

where to retrieve the execution path and how to troubleshoot the cron ?

View 1 Replies View Related

Ubuntu :: Listen To Song It Opens VLC, But When Open Another Song It Opens Another New VLC Window?

Feb 27, 2010

As far as i know VLC is the best media player for linux bc it suppurts all file types. But there is one anoying problem - when i want to listen to song it opens VLC, but when i open another song it opens another new VLC window. And this problemug or whatever didnt apear in Windows version VLC player.

View 4 Replies View Related

Debian :: Gvfsd-http Leaves Many Connections Open

Feb 22, 2011

Looking at the results of both `lsof | grep IPv4` and `netstat -tp` I noticed that I have a lot of connections open from a program called 'gvfsd-http'.

Using google, I found that this was a Filesystem something from Gnome, that would also be used If I drag something from my browser to my desktop.

Though I wonder, how I activated it, because I didn't do that...

After a bit of searching, I noticed that `screenshots.debian.net` uses the same IP address as the one noted (hades.car.gr).

PING screenshots.debian.net (78.46.20.5) 56(84) bytes of data.
64 bytes from hades.car.gr (78.46.20.5): icmp_req=1 ttl=56 time=55.4 ms

Question: Do I have some tool enabled that maybe sends statistics to debian or so? Where to find it and kill it.

View 2 Replies View Related

Debian Multimedia :: When Open An Open Office Document From An NFS Share It Always Opens As Readonly

Apr 27, 2010

When I open an open office document from an NFS share it always opens as readonly. This was a problem I had on Arch linux and the fix was to change the locking options in the soffice script but I've tried that fix here and it doesn't work. I've seen a lot of discussions but they all go back to changing the locking options in soffice, has anyone got any alternative fixes or one that definitely works with locking?

View 4 Replies View Related

General :: Configure KDE Konsole To Open New Shells On A Different Machine?

Mar 11, 2010

How to configure the KDE Konsole that when I press on a "new tab" button, the new shell would open on another machine (thorugh ssh), and not on the current one?

View 1 Replies View Related

Debian :: When Open Up Konsole And Type 'su' And My Root Password - Authentication Failure ?

Apr 8, 2010

My system software is installed on an encrypted LVM on hda1 and hda2. My home directory takes up the whole of hdb1 which is also encrypted. I can boot up into the kde desktop okay, but when I open up konsole and type 'su' and my root password I get the message "su: Authentication failure". I am absolutely certain that I am using the right password.

Even more strangely, if I fire up synaptic and give it that same password I am able to install software. Does anyone have any suggestions as to what's gone wrong and how I can fix it?

I can also type Ctrl-Alt-F2 and log in as root to do administrative tasks without any problems so I cannot understand why konsole has locked me out.

View 8 Replies View Related

General :: Shell Script To Source An Env File And Open A Kde Konsole Terminal

Jan 27, 2011

I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.

View 2 Replies View Related

Ubuntu :: Rhythmbox Opens When Trying To Open Filesystem

Dec 17, 2010

When I go Places -> MountedDrive Rhythmbox opens and tries to load the whole thing...how do I make it open in Nautilus again?

View 2 Replies View Related

General :: Error - Can't Open Display - For Xclock Or Gvim On Kubuntu Root Shell Konsole 1.6.6

Oct 8, 2009

I use kubuntu (8.04) which does not have a root account.

[sudo] password for ts:

However, starting xclock or gvim on root shell on konsole has the "Can't open display" error appears.

Error: Can't open display: localhost:0.0

Press ENTER or type command to continue

View 2 Replies View Related

Ubuntu :: Open Any Folder From Desktop Opens Miro?

Sep 28, 2010

When I try to open any folder from either Gnome-Do or Docky it launches Miro after about 5 seconds.

I can open any folder from the terminal though.

how these lines got crossed? or how to uncross them?

View 6 Replies View Related

Ubuntu :: Open Containing Folder In Firefox Opens Kid3-qt?

May 1, 2011

I'm running Kubuntu 10.10 with Firefox 4.0.1. from the firefox ppa. If I want to open the folder of a downloaded file with the right-mouse-button menu, kid3-qt is opened and shows the folder. I already tried the following: Removed kid3-qt -> Dolphin opens the folder, kid3-qt reinstalled leads to the same behaviour as before Reinstalled Firefox -> no change Removed the .mozilla dir to create a new profile -> no change mimeapps.list in ~/.local/share/applications looks like this:

Code:
[Added Associations]
application/pdf=kde4-okular.desktop;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=wine-Programs-Microsoft Office-Microsoft Office Excel 2007.desktop;
application/x-wine-extension-ini=kate-2.desktop;
application/x-wine-extension-mas=kate-2.desktop;

[Code]...

View 2 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 :: Places - Home Folder Opens Movie Player - Could Not Open Location

Feb 19, 2011

I was trying to view a dvd on ubuntu (which works on windows) so I downloaded a few progams from the synapatic manager and software center - nothing made the dvd work but now when I go to "places" and "home folder" movie player opens and has a error message window that is at least 10 deep that says "could not open location; you might not have permission to open file." I can't get to home folder at all!Did I totally ruin Ubuntu? Is this fixable? I rebooted and that didn't help

View 3 Replies View Related

Fedora :: How To Use Yum-plugin-show-leaves

Feb 22, 2010

I installed yum-plugin-show-leaves and yum-plugin-remove-with-leaves but I have no clue how to use them.I was trying something like

Code:
yum list *foo* --show-leaves
but it gives me the following message:
Code:
Command line error: no such option: --show-leaves

View 6 Replies View Related

Ubuntu :: "Places" Opens Vlc - Can't Open The Location

Sep 1, 2011

When I try to open a location via places vlc opens and tells me it can't open the location. If I try to open my home folder through places, this happens...

View 9 Replies View Related

Ubuntu :: Click On The File System Icon In The Launcher To Open A Nautilus Window The Window Opens, But Is Unresponsive?

Aug 8, 2011

My system boots, I login and am brought to my desktop. I click on the file system icon in the launcher to open a Nautilus window. The window opens, but is unresponsive (i.e., I can't move it, clicking on the icons does nothing, etc.). If I press the super key to get the dash and the press escape, the window becomes responsive again, just like normal.

If I open a folder in the window, the window becomes halfway unresponsive in that I can't move the window, but I can select more folders and toolbar icons. The top menu no longer appears at this point, and I can't access any of the system icons on the top right of the screen. Alt-F4 closes the window even if the close button doesn't work.As another example, suppose I open a Nautilus window and then a Chromium window. Both are immediately unresponsive. If I super-esc again, I can move the Chromium window around, and it seems to work normally. I can click on the Nautilus window, but it always stays greyed out. Even if I'm clicking on things in it, the Chromium window always has focus.

I had a similar experience to this with VLC and Chromium. After clicking around enough I eventually got it to the point where VLC apparently always had focus, but I couldn't access any of VLC's controls. Double clicking anywhere on the screen fullscreened the video, and that's all I could really do. Not even escape worked to bring it back.I can usually press super to get the dash and Alt-F2 to get a command prompt. Also Alt-Shift-T seems to usually work to bring up a working Terminal (at least one that accepts commands, even if I can't move the window).Does anyone have any ideas on what might be causing this? The behavior is highly unpredictable and extremely frustrating. I should note that key commands don't always work, even though they seem to in my examples. So I don't think it's just a mouse issue.

View 9 Replies View Related

Fedora :: C Program Execution Using Gcc?

Jul 12, 2011

i m using gcc to compile certain programs.they get successfully compiled but fail to execute.Here is a sample code and the error [tommy@tommy cprog]$ vi test.c

#include<stdio.h>
int main()
{[code]....

a similar problem arises with codeblocks for the same program.the error is the same even when it is just main() and absence of return 0;
the problem exists also on c++.i m using Fedora 15

View 5 Replies View Related

Ubuntu Multimedia :: Boxee Video - When I Open A Video It Opens In A Tiny Box In The Upper Left Hand Corner Of My Monitor?

Feb 7, 2011

Phenom 9500+ quad core, 3GB RAM, Nvidia 8800GT: 260.19.36 driver.Installed the latest Boxee for Linux. Got my remote setup. Everything works except when I open a video it opens in a tiny box in the upper left hand corner of my monitor.Is there any way to get Boxee videos to play full-screen?

View 6 Replies View Related

Fedora :: Script Execution Before Reboot?

Aug 31, 2010

what i need is to execute a script before reboot actualy the system reboot faster than the script execute how can we force the system to wait for the script complete execution

its for my 11g database [URL]

View 4 Replies View Related

Fedora :: Allow CGI Execution From Home Directory On 15

Aug 27, 2011

I have been trying to get my development box up and running and I decided to do some CGI work in Perl and I am getting a 500 error on Apache 2. I have checked all the perl settings and the script runs fine on the CLI. I am simply passing a textfield from a HTML form to Perl. I was using the standard CGI.pm calls but I modified the script just to use print statements to make the output page. The script has one textfield in it, as it was just supposed to test the CGI.

I have the UserDir directive active for my user and I did some modifications to allow CGI execution from my home directory /public_html/cgi-bin/. the script will not run from the main /var/www/cgi-bin directory either,that also returns a 500 error. the permissions are 755 on both copies of the script in the cgi-bin directories.

View 3 Replies View Related

Fedora :: How To Install Software From KONSOLE

Jan 27, 2010

HOW TO INSTALL SOFTWARE FROM THE KONSOLE?!

View 1 Replies View Related

Fedora :: Get Root Privilages At The Konsole?

Feb 4, 2010

how to get root privilages at the konsole? If I type sudo - i get an error that i'm not in the sudo file.

View 8 Replies View Related

Fedora :: Is Konsole Most Feature Rich Terminal?

Jun 16, 2011

I've been looking for a alternative terminal to work in while using F15. I've done some Googleing and came across Konsole as being the most feature rich terminal. I'd like a terminal that provides a lot of features so I could possibly increase my efficiency. If something is KDE like Konsole does that mean I have to install the whole KDE environment? If so is there any Fedora terminal alternatives?

View 7 Replies View Related

General :: Change The Background Of Fedora Kde Konsole?

Oct 15, 2010

I am using Fedora 13 Operating System. I want to know that how to change the background of kde konsole. I want to display any type of wallpaper in the background of its (kde) konsole.

View 3 Replies View Related

General :: Can't Resize Konsole Windows Size In Fedora / Make It Possible?

Aug 1, 2011

This may seem to be a silly question, but I googled along
and found that most of relevant complaints was about
a bug in video card driver.

My problem is -
For some unknown reason, I can't resize the Konsole window horizontally while I can still resize vertically. This is bad as the corrent width of Konsole window fills the entire screen!

View 1 Replies View Related

Fedora :: "yum-plugin-remove-with-leaves" - Doesn't Work With Graphical Front Ends

Sep 19, 2010

I'm trying to switch from debian to fedora (13) and I'm stuck at getting yum to remove leave dependencies.

So far I've installed "yum-plugin-remove-with-leaves" and I'm able to remove leave dependencies if I invoke yum with the "--remove-leaves" argument from command line.

But this doesn't work with graphical front ends and I want to remove unused leave dependencies every time if I remove a package not just if I remember to invoke yum with the "--remove-leaves" argument.

Later on I discovered an option in "/etc/yum/pluginconf.d/remove-with-leaves.conf" named "remove_always = 1" and uncommented it. But yum doesn't seem to care. I still need to add the "--remove-leaves" argument otherwise yum isn't going to remove the leave dependencies.

How to configure yum to handle dependencies the way I used to know from apt under debian? Install a package with a graphical front end and dependencies get pulled in as needed. Uninstall a package later on and dependencies installed in the first place are removed as well if not needed by anything installed in between.

View 5 Replies View Related

Fedora Installation :: NVidia - Desktop Is Freezing For 10-15 Seconds Before Konsole Is Launched

Dec 25, 2009

configuration: $uname -a
Linux perosoft.home.org 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed Dec 9 11:00:30 EST 2009 i686 i686 i386 GNU/Linux
$/sbin/lspci -nn | grep 'VGA|NV'
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8400 GS [10de:0422] (rev a1)
$rpm -qa|grep kmod
kmod-nvidia-2.6.31.6-166.fc12.i686.PAE-190.42-1.fc12.8.i686
kmod-nvidia-PAE-190.42-1.fc12.8.i686

i have created a shortcut for konsole on desktop, if i click on icon all desktop is freezing for 10-15 seconds before konsole is launched. if i have the same aplication overlapped in taskbar and i click once same thing is happening, desktop is freezing before select menu is appear.

View 7 Replies View Related

Ubuntu Servers :: Cron Sending Email From Address / Change The Default Domain Name For Cron?

Apr 29, 2011

Can anyone tell me how i change the default domain name for cron?everything i cron runs it emails from and to user@com.com

this leaves me with a massive list of failed mails in postfix.i have mailto on my main crontab but i cant do it on all of them.

View 1 Replies View Related







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