frengoGorgia ([EMAIL PROTECTED]) wrote:
> Il ven, 2005-04-01 alle 02:19, RickSisler ha scritto:
[.snip.]
> * 0-23/2 * * * /home/ricks/bin/sigfile > /home/ricks/.signature
>
> seems to run the command every minute (the first *)
>
> you should put at least a minute of the hour (choose one below)
>
>
Il ven, 2005-04-01 alle 02:19, RickSisler ha scritto:
> Hi All,
> I have a bash script to generate a ~/.signature file that gets added
> to outgoing emails, as many do. I want it to run every 2 hours, but
> this runs it every minute, for some reason. I checked the man page for
> crontab(5) and it s
On Friday 26 November 2004 03:51 pm, Derek Jennings wrote:
> > Question: How can I send these outputs to /var/spool/mail/chris
> > instead of through my isp?
>
> In /etc/crontab use
> MAILTO=chris
> instead of
> [EMAIL PROTECTED]
>
> derek
Thanks Derek, after I sent the msg I did some more googl
On Friday 26 November 2004 20:41, Chris wrote:
> A little background first. I have a couple of cronjobs setup, one which
> shutsdown and restarts spamd ever 4hrs. When this happens I get an email
> telling me it was done. Yesterday I was fooling around with fetchmail to
> see if I could speed up
On Thu, 5 Aug 2004 18:33:41 -0400, Bill Shirley <[EMAIL PROTECTED]> wrote:
> Did you see this post? I'm not convinced you are
> exporting the DISPLAY variable. Can you post your
> script?
Yeah, I saw it. Sorry I didn't reply at the time, I was busy trying
out all sorts of things and a bit overw
On Fri, 2004-08-06 at 05:47, German Guillot wrote:
> On Fri, 06 Aug 2004 03:25:10 +1000, Stephen Kühn <[EMAIL PROTECTED]> wrote:
>
> > Now I'm led to wonder, are you using kcron to setup the cron job - and
> > is the user YOU or root or system?
>
> I'm not using kcron - I don't even have it. In m
On Thu, 05 Aug 2004 12:58:40 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
> As you say, running two X servers is overkill for what you want. I am
> trying to remember something - there is a "dummy" X server package, or
> something like that, for faking an X server. It may be part of th
On Fri, 06 Aug 2004 03:25:10 +1000, Stephen Kühn <[EMAIL PROTECTED]> wrote:
> Now I'm led to wonder, are you using kcron to setup the cron job - and
> is the user YOU or root or system?
I'm not using kcron - I don't even have it. In my home dir I have a
text file called, appropriately (or confusi
German Guillot wrote:
I'll check out xauth, though it seems a bit of overkill to have two X
servers running, just for this little toy. It'll teach me something
new, though.
I changed my run level to 3 and logged in again. I see that I own a
process called xinit, but top shows me that X is run by ro
On Fri, 2004-08-06 at 02:12, German Guillot wrote:
> Well, damnit. No, you're not missing anything, but I obviously am. I
> have a little script just like yours. I create a crontab with a task
> for it. It just doesn't work. Other scripts with other commands (cat,
> for example) are run by cron fr
On Thu, 05 Aug 2004 10:47:57 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
> The display manager will be running as root. But when a suer logs in,
> it turns ownership over th the user. If you use run level 3, then the
> user owns the X server from the start. You can also do things like
IL PROTECTED]
> Subject: Re: [newbie] Cron doesn't run for user
>
>
> On Fri, 06 Aug 2004 01:42:10 +1000, Stephen Kühn <[EMAIL PROTECTED]> wrote:
>
> > Ok...just for giggles and grins, I just created a small script to fire
> > up Galeon (/home/stephen/bin/star
Bill Shirley wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of German Guillot
Sent: Thursday, August 05, 2004 9:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Cron doesn't run for user
On Thu, 5 Aug 2004 08:29:16 -0400, Bill Shirley &l
On Fri, 06 Aug 2004 01:42:10 +1000, Stephen Kühn <[EMAIL PROTECTED]> wrote:
> Ok...just for giggles and grins, I just created a small script to fire
> up Galeon (/home/stephen/bin/start_galeon) ::
>
>
> #!/bin/bash
>
> /usr/bin/galeon http://freshmeat.net
>
> exit
>
>
> Fired up kcron as my
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of German Guillot
> Sent: Thursday, August 05, 2004 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] Cron doesn't run for user
>
>
> On Thu, 5 Aug 2004 08:29:16 -0400
Bill Shirley wrote:
[EMAIL PROTECTED] tmp]# cat testg #!/bin/sh
export DISPLAY=:0.0
echo $DISPLAY
/usr/bin/galeon
#/usr/bin/mozilla
Works for me!
Bill
Are you running X as the same user? If user bill logs in to the DM, or
runs startx, user joe can not connect to the X server without a LOT
German Guillot wrote:
On Wed, 04 Aug 2004 20:22:44 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
Bill Shirley wrote:
Try putting in the script:
DISPLAY=:0.0
at the top after #!/bin/sh
HTH, Bill
This only works if you are running the X server. If another user is
running X, yo
On Fri, 2004-08-06 at 01:20, German Guillot wrote:
> On Fri, 06 Aug 2004 01:06:05 +1000, Stephen Kühn <[EMAIL PROTECTED]> wrote:
>
> > Maybe I walked in late in the thread here - but I'm trying to NOW figure
> > out what y'all tryin to do - is it that you want cron to open a browser
> > for you fo
On Fri, 06 Aug 2004 01:06:05 +1000, Stephen Kühn <[EMAIL PROTECTED]> wrote:
> Maybe I walked in late in the thread here - but I'm trying to NOW figure
> out what y'all tryin to do - is it that you want cron to open a browser
> for you for a specific URL and that's all?
Yep, that's it. I'm startin
On Fri, 2004-08-06 at 00:54, German Guillot wrote:
> On Thu, 5 Aug 2004 09:18:36 -0500, Hoyt Bailey <[EMAIL PROTECTED]> wrote:
> >
> > You might try:
> > '/usr/bin/galeon weather.com' (or whatever site you want)
>
> Yeah, tried that too. I think I've tried everything short of changing
> security s
On Thu, 5 Aug 2004 09:18:36 -0500, Hoyt Bailey <[EMAIL PROTECTED]> wrote:
>
> You might try:
> '/usr/bin/galeon weather.com' (or whatever site you want)
Yeah, tried that too. I think I've tried everything short of changing
security settings in the X server, but I'm not going down that route.
Anyw
On Wed, 04 Aug 2004 20:22:44 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
> Bill Shirley wrote:
>
> > Try putting in the script:
> >
> > DISPLAY=:0.0
> >
> > at the top after #!/bin/sh
> >
> > HTH, Bill
> >
> This only works if you are running the X server. If another user is
> runni
On Wed, 04 Aug 2004 20:14:21 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
> Or you script can start something like:
>
> #!/bin/bash
> #
> PATH=/bin;/usr/bin;/home/ger/bin
>
> Another way you can do it is to define variables for all your commands
> at the start of the script, and then us
On Wed, 4 Aug 2004 17:57:55 -0400, Bill Shirley <[EMAIL PROTECTED]> wrote:
> Try putting in the script:
>
> DISPLAY=:0.0
>
> at the top after #!/bin/sh
Thanks for the suggestion. It desn't work, though, unfortunately.
Germán.
Want to buy you
Bill Shirley wrote:
Try putting in the script:
DISPLAY=:0.0
at the top after #!/bin/sh
HTH, Bill
This only works if you are running the X server. If another user is
running X, you will not be able to connect to the X server, unless you
turn off security. It also fails if you are not running
German Guillot wrote:
> I find specifing the path the script expects in the script itself
> cuts way down on problems, especialy if you later change your path
> from what it was when you wrote the script. You can usualy depend
> on /bin;/usr/sbin, but anything else depends on how the script is
> be
Try putting in the script:
DISPLAY=:0.0
at the top after #!/bin/sh
HTH,
Bill
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of German Guillot
> Sent: Wednesday, August 04, 2004 4:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie
On Wed, 04 Aug 2004 15:07:43 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
> > Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work
> > PATH=/bin:/usr/bin:/usr/bin/X11: etc, the whole bash environment
> > variable.
> >
> Did you add the full path in the script, or in the
German Guillot wrote:
On Wed, 04 Aug 2004 11:34:36 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
You might want to try adding a PATH= before
the first command in the script.
Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work
PATH=/bin:/usr/bin:/usr/bin/X11: etc, the
On Wed, 04 Aug 2004 11:34:36 -0500, Mikkel L. Ellertson
<[EMAIL PROTECTED]> wrote:
> You might want to try adding a PATH= before the
> first command in the script.
Yep, I did that. I tried PATH=/home/ger/bin and when that didn't work
PATH=/bin:/usr/bin:/usr/bin/X11: etc, the whole bash environme
Have you got your scripts path explicit in the crontab?
Tony.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of German Guillot
> Sent: Wednesday, August 04, 2004 4:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [newbie] Cron do
German Guillot wrote:
Hello All,
I'm on mdk 10 OE. I've put a little bash script in /home/ger/bin/,
added that directory to my path, created a crontab for myself with
crontab (it's now /var/spool/cron/ger), added my whole $PATH to it,
created /etc/cron.allow and even /var/spool/cron/cron.allow with
On Sat, 31 Jan 2004 17:59:20 -0800 (PST)
Job Evers wrote:
> Argh. Why doth my cron not work like I want it to?
>
> I have the following set up as an alarm to go off at
> 630 AM. The .alarm script works when I run it from
> the command line.
>
> $ more .alarm:
> #!/bin/sh
> xmms /home/jobevers/
On Friday 28 Nov 2003 1:41 am, Trevor Rhodes wrote:
> Hello,
>
> Can someone tell me where Cron from MCC went? I need it back. Thanks
>
As I understand it. It was taken out because it did not work properly.
Try webmin instead. It does all that drakcron did and lots more.
Install webmin RPM then
On Wednesday 01 Oct 2003 3:04 pm, Derek Jennings wrote:
> On Wednesday 01 Oct 2003 1:13 am, L.V.Gandhi wrote:
> > I get following error.
> > Sep 30 05:29:02 lvghomepc anacron[1507]: Job `cron.daily' started
> > Sep 30 05:29:02 lvghomepc anacron[1770]: Updated timestamp for job
> > `cron.daily' to 2
On Wednesday 01 Oct 2003 1:13 am, L.V.Gandhi wrote:
> I get following error.
> Sep 30 05:29:02 lvghomepc anacron[1507]: Job `cron.daily' started
> Sep 30 05:29:02 lvghomepc anacron[1770]: Updated timestamp for job
> `cron.daily' to 2003-09-30
> Sep 30 05:29:51 lvghomepc anacron[1507]: Job `cron.dai
I don't know about the cron error, but regarding the mail output, "man
cron" says:
"When executing commands, any output is mailed to the owner of the
crontab (or to the user named in the MAILTO environment variable in the
crontab, if such exists)."
Naturally, there must be a mailer deamon runn
On Wed, 2002-12-25 at 21:57, Colin Jenkins wrote:
> Hi all,
> The script below works ok from the command line but when I run it as a
> cron job, it starts ok, but stops after backing up a few directories.
> Any ideas what I'm doing wrong? is it a bug with cron?
> btw, I'm using mdk9
>
> #!/bin/sh
On Saturday 07 Dec 2002 2:10 am, L.V.Gandhi wrote:
> I have the following /etc/crontab
> [root@localhost lvgandhi]# cat /etc/crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # run-parts
> 01 * * * * root nice -n 19 run-parts /etc/cron.hourly
> 02 4 * * * roo
On Fri, 2002-11-15 at 17:19, Colin Jenkins wrote:
> Hi all,
> I have asked this question a few times before with no reply, so I
> thought I'd try once more before I give up.
> I have a very simple script to back up the user directory on an nt server.
> The directory is mounted on my lm9.0 box (samb
On Mon, 2002-11-11 at 16:51, Ibly Piblo wrote:
> I can't set up a cron job, either cron or
> webmin is broken.
>
> I try to make it play an mp3 file, with the
> command mpg123 -b 3000 /home/ipiblo/music.mp3
> and all it can do is tell me the "home environment
> variable is not set?"
>
> How usele
Yes, this is what anacron does with all the jobs in /etc/crontab but I
can't seem to make it look for missed jobs in individual user's
crontabs.
Is it possible to do this?
Ross
> AFAIK Anacron will pick and run any jobs that have not been executed by cron
> in time. So when you set up the FTP
In reply to Ross's mail, d.d. Mon, 19 Aug 2002 22:27:21 +0100:
AFAIK Anacron will pick and run any jobs that have not been executed by cron
in time. So when you set up the FTP in the user crontab and the machine is
down, anacron will perform the task after booting the machine.
That is what anacr
On Sat, 18 May 2002 16:57, Miark wrote:
> I have the following entry in my crontab to run every morning:
>
> 05 03 * * * tar -czf /backup/`date +%a`_www_backup.tar.gz /www
>
> But it's apparently _not_ doing it. However
>
> * Crond is running.
> * Other entries in the crontab are being performed
> I have the following entry in my crontab to run every morning:
>
> 05 03 * * * tar -czf /backup/`date +%a`_www_backup.tar.gz /www
>
> But it's apparently _not_ doing it. However
>
> * Crond is running.
> * Other entries in the crontab are being performed.
> * Running the command manually works
ssage-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Anke & Max
Sent: Saturday, 26 January 2002 9:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Cron
> > Gidday Derek and everyone else
> >
> > I've been using webmin from a Mac and I can't for
> > Gidday Derek and everyone else
> >
> > I've been using webmin from a Mac and I can't for the life of me, get it to
> > accept the certificate
> > It asks again and again if I want to continue and I can't find anywhere to
> > turn it off. You wouldn't know of a cure would you?
> > TIA
> > max
On Friday 25 January 2002 13:02, Anke & Max wrote:
> Derek said on Thursday, January 24
>
> > A nice way to administer cron jobs is with webmin
> >
> > Just install the webmin package and put https://localhost.1 in a
> > browser URL line.
By the way: This was a type. It should read
https://lo
Derek said on Thursday, January 24
> A nice way to administer cron jobs is with webmin
>
> Just install the webmin package and put https://localhost.1 in a browser
> URL line.
>
> You will get a warning message about a self certified certificate the first
> time you run it. Just accept it.
>
Miark wrote:
>
> Thanks, Mario. I had the varibale set in .bashrc, but I was
> missing the "export". Now it works like a charm!
>
> Miark
>
Hello Miark,
You're welcome.
for those who use a c-shell instead of a bash, the commnad would be
"setenv" instead of "export", without the "=" sign.
Than
Thanks, Mario. I had the varibale set in .bashrc, but I was
missing the "export". Now it works like a charm!
Miark
- Original Message -
From: "Mario Michael da Costa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 12:
Miark wrote:
>
> > Wouldn't
> >
> > crontab -e
> >
> > be much easier? This edits your personal crontab and after saving it, cron
> > will pick up the revised version and run that. This way cron will also pick
> > it up after a reboot. Btw, crontab -l will list the current cron jobs you
> > have
> Wouldn't
>
> crontab -e
>
> be much easier? This edits your personal crontab and after saving it, cron
> will pick up the revised version and run that. This way cron will also pick
> it up after a reboot. Btw, crontab -l will list the current cron jobs you
> have set up.
It probably would if
On Wed, 23 Jan 2002 22:43:30 -0700 Miark wrote:
Wouldn't
crontab -e
be much easier? This edits your personal crontab and after saving it, cron
will pick up the revised version and run that. This way cron will also pick
it up after a reboot. Btw, crontab -l will list the current cron jobs you
ha
>I have a script that I need to add for cron to run once a week.
>How do i tell cron to run them? i have no idea where the cron
>configs are
>
>mandrake 8.1
>
>Jesse angell
Jesse,
1) In your home directory, or somewhere abouts,
make a file called "mycronjobs" or something similar
that will ea
One can also change their EDITOR env setting to pico should one be so
inclined...
Ed
At 11:38 AM 1/10/2002, Real Name wrote:
>or just enter
>crontab -e
>from any prompt and make your edits in VI
> Dan B
>
>On Thu, 10 Jan 2002 10:20:27 -0500
> sda <[EMAIL PROTECTED]> wrote:
> > On Wed, Jan 09
ll find it terribly handy.
rgds
Frank
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ed Kasky
Sent: Friday, 11 January 2002 3:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] cron
One can also change their EDITOR env setting to pico should one be s
Once an hour? Okay, here we go.
1) In your home directory, or somewhere abouts,
make a file called "mycronjobs" or something similar
that will easily remind you of what it is. It's in
this file that you'll put all your cron jobs.
2) In the file, pun one line as follows:
00 * * * * /path/to/s
or just enter
crontab -e
from any prompt and make your edits in VI
Dan B
On Thu, 10 Jan 2002 10:20:27 -0500
sda <[EMAIL PROTECTED]> wrote:
> On Wed, Jan 09, 2002 at 09:17:02PM -0500, Gerald Waugh wrote:
> > On Wednesday 09 January 2002 06:24 am, Mark D'voo wrote:
> > > I have a bash script tha
i can give u a newbie tip only if the 'expert' guys do not laugh at me :-)
I actually tried to use the cron and crontab files but could not understand
the format of the crontab file. tried looking into docs but nothing.
So I use kcron now - it lets you define a crontab file - asks cron to use t
On Thursday 10 January 2002 08:17 am, you wrote:
> On Wednesday 09 January 2002 06:24 am, Mark D'voo wrote:
> > I have a bash script that I want run every hour as my regular user, how
> > do I setup cron to do this?
> >
> > mark
>
> easiest
> put the script in the /etc/cron.hourly directory.
hmm,
On Wednesday 09 January 2002 06:24 am, Mark D'voo wrote:
> I have a bash script that I want run every hour as my regular user, how do
> I setup cron to do this?
>
> mark
easiest
put the script in the /etc/cron.hourly directory.
Gerald
Want to buy your Pack or Services from MandrakeSoft?
Go
I think that the job
is trying to display
and recevive info
from the screen
and it can't as you are running the job
as a script.
>
> This is a multi-part message in MIME format...
>
> =_1009904480-11608-2751
> Content-Type: text/plain;
> charset="US-ASCII"
> Content-Transfer
On Mon, 24 Dec 2001 14:12:32 +0800, "SKLIM" <[EMAIL PROTECTED]> wrote:
> [root@smtp /root]# cat /var/spool/cron/root
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.8868 installed on Mon Dec 24 10:11:33 2001)
> # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:
At 14:12 24.12.2001 +0800, you wrote:
>[root@smtp /root]# cat /var/spool/cron/root
># DO NOT EDIT THIS FILE - edit the master and reinstall.
did u see this line ? *g*
># (/tmp/crontab.8868 installed on Mon Dec 24 10:11:33 2001)
># (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixi
> under the services to start both anacron and crond are setup to start on
> bootup. Are both of these services needed? Also what exactly is
I am not sure if both are needed. The crond should be the vixie-cron, since
that is more common on Linux systems (it is a version authored by Paul
Vixie
thankyou very much,
bascule
On Friday 01 December 2000 4:38 pm, you wrote:
> On Fri, 1 Dec 2000, bascule wrote:
>
> I figured that one out.
> In /etc/cron.daily there's a file called htdig-dbgen.
> Just chmod -x that and it's over with the messages.
>
> Paul
>
> >hi,
> >i am getting the message
On Fri, 1 Dec 2000, bascule wrote:
I figured that one out.
In /etc/cron.daily there's a file called htdig-dbgen.
Just chmod -x that and it's over with the messages.
Paul
>hi,
>i am getting the message below regularly, i would be grateful if someone
>could tell me if it is serious and how i migh
Try running kcron (part of KDE). It makes the whole crontab creation process
very simple. For a tutorial, go to http://mandrakeuser.org/admin/acron.html.
MandrakeUser.org has great tutorials for most things you'll need.
On Mon, 6 Nov 2000 16:20, KompuKit wrote:
> Where can I find a good tutori
EMAIL PROTECTED]]On Behalf Of Paul
Sent: Sunday, November 05, 2000 9:51 PM
To: Linux-Mandrake
Subject: Re: [newbie] Cron-tutorial
It was Nov 6, 2000, 00:20, when KompuKit keyboarded:
>Where can I find a good tutorial on setting up cron jobs,
>and/or editing them? I've never even touched t
It was Nov 6, 2000, 00:20, when KompuKit keyboarded:
>Where can I find a good tutorial on setting up cron jobs,
>and/or editing them? I've never even touched that feature
>yet...and my box does all sorts of things...every night
>at 12 am. I want to know what it's doing...and have it
>run at a d
It was Sep 29, 2000, 10:20, when Richard Davies keyboarded:
>
>59 22 * * * root passwd -l katrina
>00 23 * * * root halt
>00 8 * * * root passwd -u katrina
I think you should try and figure out a script to determine the PID of the
Xserver, and let cron do a kill -9 on that. That will kick the lo
On Fri, 5 May 2000, Nickolay Belostotsky wrote:
>And how do I run, say:
>
>hdparm -d1 /dev/hda
>
>on every startup?
Put it in /etc/rc.d/rc.local (as root)
Paul
)0(---)0(
Happiness requires practice,
just like playing the violin.
)0([[EMAIL PROTECTED]]---
If you run mdk 7.0 or higher, there should be a line in your
/etc/rc.d/init.d/mandrake_everytime already containing the necessary
hdparms to optimize your hard drive.
Look at this script and modify it following your needs. I think it's the
best thing to do.
HTH
Flupke
On Fri, 5 May 2000, Nickol
On Sun, 5 Sep 1999, Ken Wilson wrote:
> If you look at slocate.cron in a text editor you will notice that the
> last '}' is on a line by itself. Go to the last '}' and do a backspace
> to bring it back up to its proper line.
>
> If that doesn't work you'll have to open slocate.cron with the hex
If you look at slocate.cron in a text editor you will notice that the
last '}' is on a line by itself. Go to the last '}' and do a backspace
to bring it back up to its proper line.
If that doesn't work you'll have to open slocate.cron with the hex
editor. If you are using the hex editor, replac
76 matches
Mail list logo