Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
crontab & gnome-schedule do not run bash script
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 38 of 38 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Janis Papanagnou  
View profile  
 More options Sep 29 2012, 4:21 am
Newsgroups: comp.unix.shell
From: Janis Papanagnou <janis_papanag...@hotmail.com>
Date: Sat, 29 Sep 2012 10:21:00 +0200
Subject: Re: [OT] crontab & gnome-schedule do not run bash script
On 29.09.2012 10:06, Rajib Kumar Bandopadhyay wrote:

The subject is a subject; helpful for an overview of the threads.
The contents of a posting should be complete, not relying on the
knowledge of the 'Subject:' header. The signature is not intended
for the subject but for your, well, signature. Indeed you don't
need a signature. If you have one, it should not contain more
than four lines of text, and it should be initiated with a line
containing just "-- " (dash, dash, blank); this convention makes
it possible for newsreaders to skip it when replying. (The rest
of the previous poster's notes are suggestions to test your
settings while not using this (or any other) topical newsgroup
as your test environment.)

Janis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bit Twister  
View profile  
 More options Sep 29 2012, 4:43 am
Newsgroups: comp.unix.shell
From: Bit Twister <BitTwis...@mouse-potato.com>
Date: Sat, 29 Sep 2012 08:43:57 +0000 (UTC)
Local: Sat, Sep 29 2012 4:43 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

On Sat, 29 Sep 2012 08:06:16 +0000 (UTC), Rajib Kumar Bandopadhyay wrote:
> Why do I need a signature?

You don't need it, but creating one with your distribution,
release/version, which desktop manager and what kernel is running may
help subject matter experts give you better answers on other problems.

With that type of signature file, it means less work for you and other
people's time wanting to help or recreate the problem without you having to
provide or them ask for the information.

> Isn't the subject of my post obvious enough?

It was a fine start for the thread, but the post did not have enough
information for me to get you any exact instructions or possibly
giving you exact data/instructions to solve the problem.  :(

Different versions of distribution/desktop manager can have different
instructions/answers/commands for same problem. :(

PS:
If my distribution would not run as a VirtualBox guest I would change
distributions.  :(

It is pretty nice to launch a guest and 12 seconds later be able to
mess around/experiment without screwing up the actual running
installation running on your machine.

That assumes your hardware has two gig or better ram and a reasonably
fast cpu and a bit of extra diskspace.

Speaking of which, maybe a .signature line like
  AMD Athlon 64 Processor 3800+. 2 gig ram, 80 gig drive.
might help depending on the problem.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Janis Papanagnou  
View profile  
 More options Sep 29 2012, 4:54 am
Newsgroups: comp.unix.shell
From: Janis Papanagnou <janis_papanag...@hotmail.com>
Date: Sat, 29 Sep 2012 10:54:07 +0200
Local: Sat, Sep 29 2012 4:54 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script
On 29.09.2012 10:43, Bit Twister wrote:

> On Sat, 29 Sep 2012 08:06:16 +0000 (UTC), Rajib Kumar Bandopadhyay wrote:

>> Why do I need a signature?

> You don't need it, but creating one with your distribution,
> release/version, which desktop manager and what kernel is running may
> help subject matter experts give you better answers on other problems.

I suggest to put all relevant information in the body of the posting,
not in a signature.

Janis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bit Twister  
View profile  
 More options Sep 29 2012, 5:31 am
Newsgroups: comp.unix.shell
From: Bit Twister <BitTwis...@mouse-potato.com>
Date: Sat, 29 Sep 2012 09:31:11 +0000 (UTC)
Local: Sat, Sep 29 2012 5:31 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

On Sat, 29 Sep 2012 10:54:07 +0200, Janis Papanagnou wrote:
> I suggest to put all relevant information in the body of the posting,

I agree that Gnome should have been in the body of the post.

> not in a signature.

I kinda know where you are coming from but putting my suggestions in a
sig file prevents the poster from omitting something "relevant" to the
problem which the poster may not know was relevant.

An example could be the problem only exists in a 64 bit install, but
does not happen on a 32 bit install.

Subject matter experts on 32 installs would be unable to work the
problem or worst, waste time troubleshooting the problem.

Then there is the case of a application problem only occuring on an
particular kernel. :(

I happen to run with 8 desktops in kde. A new release of kde broke
several of my scripts which had a command to switch to a desired
desktop before launching an application.

In that case it helps to know which version of the kde desktop manager is
running.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Janis Papanagnou  
View profile  
 More options Sep 29 2012, 6:26 am
Newsgroups: comp.unix.shell
From: Janis Papanagnou <janis_papanag...@hotmail.com>
Date: Sat, 29 Sep 2012 12:26:09 +0200
Local: Sat, Sep 29 2012 6:26 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script
On 29.09.2012 11:31, Bit Twister wrote:

So what? - Put all relevant information into the body.

Or are you seriously suggesting to maintain different signature files,
one for each newsgroup you are posting to?

Janis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajib Kumar Bandopadhyay  
View profile  
 More options Sep 29 2012, 7:09 am
Newsgroups: comp.unix.shell
From: Rajib Kumar Bandopadhyay <bkpsusmi...@gmail.com>
Date: Sat, 29 Sep 2012 11:09:43 +0000 (UTC)
Local: Sat, Sep 29 2012 7:09 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

On Sat, 29 Sep 2012 12:41:13 +0200, houghi wrote:

Guys, cool down. It is only a matter of signature. If you all wish I can
open a new topic on signature, like, should a post be accompanied with a
signature.

> You can edit your program and signature file to have the relevant
> information, the signature separator and your signature.

> You could even make it so that the information is only included in new
> messages or make an easy keystroke in your program/editor that will
> expand the information to whatever you desire e.g. when you type IMHWI
> your editor could extend it to whatever you desire. Depending on the
> editor, you can even point it to a file that has all the information.

> Extra points if it points to a piped file that gets the info from a
> shell script. That way you can include whatever you desire.

> Or you can just point to the script, file, piped file and include it.

> houghi

Can these indeed be done? How?

--
Linux 2.6.32-5-686-bigmem (i686); Compiled : #1 SMP Mon Oct 3
05:03:32 UTC 2011; C Library : GNU C Library version 2.11.3 (stable);
Default C Compiler : GNU C Compiler version 4.4.5 (Debian 4.4.5-8);
Distribution : Debian GNU/Linux 6.0.3; Squeeze; GNOME 2.30.2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirko K.  
View profile  
 More options Sep 29 2012, 7:15 am
Newsgroups: comp.unix.shell
From: "Mirko K." <mirkok.li...@googlemail.com>
Date: Sat, 29 Sep 2012 13:16:40 +0200
Local: Sat, Sep 29 2012 7:16 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script
On 29.09.2012 12:59, Rajib Kumar Bandopadhyay wrote:

> On Sat, 29 Sep 2012 12:41:13 +0200, houghi wrote:
>> Extra points if it points to a piped file that gets the info from a
>> shell script. That way you can include whatever you desire.

>> Or you can just point to the script, file, piped file and include it.

> Can these indeed be done? How?

There are several methods. You can have a 1-minute cron job which
writes a new signature to your signature file.

Or you can use a FIFO special file, aka "named pipe". Try this
(requires fortune to be installed):

Open two terminal windows. In the first run:

mkfifo SIG_FIFO
while true; do fortune -a > SIG_FIFO ; done

Then, in the second terminal window, run:

cat SIG_FIFO

run it again, and again, ... Every time cat (or other programs) read
from the FIFO it gets a new fortune cookie.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajib Kumar Bandopadhyay  
View profile  
 More options Sep 29 2012, 7:26 am
Newsgroups: comp.unix.shell
From: Rajib Kumar Bandopadhyay <bkpsusmi...@gmail.com>
Date: Sat, 29 Sep 2012 11:26:39 +0000 (UTC)
Local: Sat, Sep 29 2012 7:26 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

My! My! Just for a signature? What is the practical utility of such a
process?

--
Linux 2.6.32-5-686-bigmem (i686); Compiled : #1 SMP Mon Oct 3 05:03:32 UTC
2011; C Library : GNU C Library version 2.11.3 (stable); Default C
Compiler : GNU C Compiler version 4.4.5 (Debian 4.4.5-8); Debian GNU/
Linux 6.0.3; Squeeze; GNOME 2.30.2


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirko K.  
View profile  
 More options Sep 29 2012, 7:38 am
Newsgroups: comp.unix.shell
From: "Mirko K." <mirkok.li...@googlemail.com>
Date: Sat, 29 Sep 2012 13:39:48 +0200
Local: Sat, Sep 29 2012 7:39 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script
On 29.09.2012 13:26, Rajib Kumar Bandopadhyay wrote:

I was just showing you how this could be done. I don't advice for or
against this, or having a signature at all (I also don't have one,
as you can see.) :-)

FIFOs are pretty cool stuff. You can imagine them as permanent pipes
with possibly multiple writer and reader processes. They allow
pretty complex inter-process communication.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajib Kumar Bandopadhyay  
View profile  
 More options Sep 29 2012, 7:42 am
Newsgroups: comp.unix.shell
From: Rajib Kumar Bandopadhyay <bkpsusmi...@gmail.com>
Date: Sat, 29 Sep 2012 11:42:54 +0000 (UTC)
Local: Sat, Sep 29 2012 7:42 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

On Sat, 29 Sep 2012 13:39:48 +0200, Mirko K. wrote:
> I was just showing you how this could be done. I don't advice for or
> against this, or having a signature at all (I also don't have one, as
> you can see.) :-)

I understand.

> FIFOs are pretty cool stuff. You can imagine them as permanent pipes
> with possibly multiple writer and reader processes. They allow pretty
> complex inter-process communication.

At present over my head. But I will keep tab to come back to this topic
in future when I am ready.
Let us end this thread then.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bit Twister  
View profile  
 More options Sep 29 2012, 10:46 am
Newsgroups: comp.unix.shell
From: Bit Twister <BitTwis...@mouse-potato.com>
Date: Sat, 29 Sep 2012 14:46:54 +0000 (UTC)
Local: Sat, Sep 29 2012 10:46 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

On Sat, 29 Sep 2012 11:09:43 +0000 (UTC), Rajib Kumar Bandopadhyay wrote:
> On Sat, 29 Sep 2012 12:41:13 +0200, houghi wrote:

> Guys, cool down. It is only a matter of signature. If you all wish I can
> open a new topic on signature, like, should a post be accompanied with a
> signature.

If you do, do not post in this Usenet group unless you are having a problem with
generating it.  8-)

FYI: the two middle lines are a bit much; contents from uname -sr could
replace the first three lines of text.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bit Twister  
View profile  
 More options Sep 29 2012, 10:52 am
Newsgroups: comp.unix.shell
From: Bit Twister <BitTwis...@mouse-potato.com>
Date: Sat, 29 Sep 2012 14:52:42 +0000 (UTC)
Local: Sat, Sep 29 2012 10:52 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script

On Sat, 29 Sep 2012 12:26:09 +0200, Janis Papanagnou wrote:

> So what? - Put all relevant information into the body.

> Or are you seriously suggesting to maintain different signature files,
> one for each newsgroup you are posting to?

Not hardly. My suggestion was just provide a basic architecture, distribution
desktop manger, kernel with versions.

Per Rajib's request I'll stop with the .sig replies.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris F.A. Johnson  
View profile  
 More options Sep 29 2012, 11:18 am
Newsgroups: comp.unix.shell
From: "Chris F.A. Johnson" <cfajohn...@gmail.com>
Date: Sat, 29 Sep 2012 11:04:15 -0400
Local: Sat, Sep 29 2012 11:04 am
Subject: Re: [OT] crontab & gnome-schedule do not run bash script
On 2012-09-29, Janis Papanagnou wrote:
...

> Or are you seriously suggesting to maintain different signature files,
> one for each newsgroup you are posting to?

   That's what I do, and slrn handles it automatically.

--
   Chris F.A. Johnson, author           <http://shell.cfajohnson.com/>
   ===================================================================
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »