Re: scp in crontab problem

2024-09-13 Thread Marcus Park
basti: /usr/bin/scp -i /home/userYX/.ssh/myKEY r...@example.com ... updated: it's really due to environment issue, after I add the '-i' path to scp, jobs run well now. Thanks basti.

Re: scp in crontab problem

2024-09-13 Thread Charles Curley
On Fri, 13 Sep 2024 20:24:51 +0800 Marcus Park wrote: > Hi list, > > I have put the private key into my debian VPS (in ~/.ssh/ dir). The private key of what? And to ~/.ssh/ on which computer. you are talking about transferring a file from one computer to another; which one? And why the privat

Re: scp in crontab problem

2024-09-13 Thread Greg Wooledge
On Fri, Sep 13, 2024 at 20:24:51 +0800, Marcus Park wrote: > I have put the private key into my debian VPS (in ~/.ssh/ dir). Does this private key have a passphrase? > When I scp a file from this VPS to another one by hand without password, it > works. > > But when I put this scp into crontab, i

Re: scp in crontab problem

2024-09-13 Thread basti
On 13.09.24 14:24, Marcus Park wrote: Hi list, I have put the private key into my debian VPS (in ~/.ssh/ dir). When I scp a file from this VPS to another one by hand without password, it works. But when I put this scp into crontab, it seems not work. The scp in crontab via private key didn'

scp in crontab problem

2024-09-13 Thread Marcus Park
Hi list, I have put the private key into my debian VPS (in ~/.ssh/ dir). When I scp a file from this VPS to another one by hand without password, it works. But when I put this scp into crontab, it seems not work. The scp in crontab via private key didn't run as I expect, nothing was copied t

Re: Crontab Problem

2006-12-20 Thread Michelle Konzack
Am 2006-12-07 22:34:06, schrieb Grok Mogger: > I tried doing something like this in the system wide crontab > (/etc/crontab) and I was disappointed to find that it didn't > work. It seems like the job just never ran at all. Can anyone > tell me what might have happened? > > (This is of course

Re: Crontab Problem

2006-12-09 Thread Ken Irving
On Sat, Dec 09, 2006 at 09:18:48PM -0600, W Paul Mills wrote: > Ken Irving wrote: > > On Sat, Dec 09, 2006 at 08:13:22PM -0500, Bill Marcum wrote: > >> The % sign has a special meaning in crontabs. Change it to \%. > > > > I don't see any hint of that in crontab(1) or cron(8), but I do see > > s

Re: Crontab Problem

2006-12-09 Thread W Paul Mills
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ken Irving wrote: > On Sat, Dec 09, 2006 at 08:13:22PM -0500, Bill Marcum wrote: >> On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote: >>> I tried doing something like this in the system wide crontab >>> (/etc/crontab) and I was disappointed

Re: Crontab Problem

2006-12-09 Thread Ken Irving
On Sat, Dec 09, 2006 at 08:13:22PM -0500, Bill Marcum wrote: > On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote: > > I tried doing something like this in the system wide crontab > > (/etc/crontab) and I was disappointed to find that it didn't > > work. It seems like the job just never

Re: Crontab Problem

2006-12-09 Thread Bill Marcum
On Thu, Dec 07, 2006 at 10:34:06PM -0500, Grok Mogger wrote: > I tried doing something like this in the system wide crontab > (/etc/crontab) and I was disappointed to find that it didn't > work. It seems like the job just never ran at all. Can anyone > tell me what might have happened? > > (T

Re: Crontab Problem

2006-12-08 Thread Grok Mogger
Russell L. Harris wrote: * Grok Mogger <[EMAIL PROTECTED]> [061207 21:39]: I tried doing something like this in the system wide crontab (/etc/crontab) and I was disappointed to find that it didn't work. It seems like the job just never ran at all. Can anyone tell me what might have happened?

Re: Crontab Problem

2006-12-07 Thread Russell L. Harris
* Grok Mogger <[EMAIL PROTECTED]> [061207 21:39]: > I tried doing something like this in the system wide crontab > (/etc/crontab) and I was disappointed to find that it didn't > work. It seems like the job just never ran at all. Can anyone > tell me what might have happened? > > (This is of c

Crontab Problem

2006-12-07 Thread Grok Mogger
I tried doing something like this in the system wide crontab (/etc/crontab) and I was disappointed to find that it didn't work. It seems like the job just never ran at all. Can anyone tell me what might have happened? (This is of course supposed to be on one line) 00 22 * * * root nice /som

crontab problem: multiple processes at the same time

2006-07-27 Thread Luis P. Mendes
Hi, I scheduled a job to run a script each two minutes that verifies if a process (python script) is running or not. If it's not running, it should start a new process of the same python script. The problem is that crond sometimes starts three or more processes within seconds of each other. Why

Re: Strange crontab-problem

2005-10-11 Thread Joachim Smit
Thank you all for your help. I will install fail2ban Kind regards, Joachim __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Tr

Re: Re: Strange crontab-problem

2005-10-10 Thread Ralph Katz
> Sometimes about 2500 times an hour. It's just > very annoying. > > So sshd is constantly busy rejecting illegal users. > When I don't need access to that server, I shut down > sshd. Perhaps take a look at the recent thread: Re: SSH attack And my reply about a new package, fail2ban: http://l

Re: Strange crontab-problem

2005-10-10 Thread Joachim Smit
> Why don't you just turn off password auth and use > keys instead? I did. It's not that I am so afraid that they will brake in, it's just that they are trying it so many times. Sometimes about 2500 times an hour. It's just very annoying. So sshd is constantly busy rejecting illegal users. When

Re: Strange crontab-problem

2005-10-10 Thread Jörg Schütter
Hello Joachim, On Mon, 10 Oct 2005 10:43:57 -0700 (PDT) Joachim Smit <[EMAIL PROTECTED]> wrote: > Because some naughty boys try to get in one of my > clients' Debian-server a couple of hundred times a day > I decided to shut down sshd when I don't need. With a > simple mechanisme I can start sshd

Re: Strange crontab-problem

2005-10-10 Thread Craig M. Houck
You are likly getting back a line from ps -ef that is infact the process of the grep looking for sshd. I had a similar problem like this once. Trap just the grep sshd part and see if the grep isn't included. make that line read ... AANTAL=`ps -ef | /bin/grep '/usr/sbin/sshd' | /bin/grep -v grep

Strange crontab-problem

2005-10-10 Thread Joachim Smit
Because some naughty boys try to get in one of my clients' Debian-server a couple of hundred times a day I decided to shut down sshd when I don't need. With a simple mechanisme I can start sshd from distance whenever I want. Just in case I might forget to close it when I'm ready, I run the followi

crontab problem ? - SOLVED

2001-05-02 Thread Dominique Deleris
Dominique Deleris <[EMAIL PROTECTED]> writes: > Hello list. > > I want to run a script, using the crontab facilites in debian : I > have created a symbolic link to my administrative script in > /etc/cron.weekly, but it seems to me that it is never triggered. > > Here is the ls for the symlink in

Re: crontab problem ?

2001-05-02 Thread Osamu Aoki
On Tue, May 01, 2001 at 09:53:35PM +0200, Dominique Deleris wrote: > I want to run a script, using the crontab facilites in debian : I > have created a symbolic link to my administrative script in > /etc/cron.weekly, but it seems to me that it is never triggered. > > Here is the ls for the symlink

Re: crontab problem ?

2001-05-01 Thread Mike G
Hi, first of all, I have very limited knoledge on the subject, so I have no idea what /etc/cron.* would do. but, What I usually do is crontab -e, and I write my crontab there, and list it with crontab -l By far not definite, but hope it helps On Tue, May 01, 2001 at 09:53:35PM +0200, Do

crontab problem ?

2001-05-01 Thread Dominique Deleris
Hello list. I want to run a script, using the crontab facilites in debian : I have created a symbolic link to my administrative script in /etc/cron.weekly, but it seems to me that it is never triggered. Here is the ls for the symlink in /etc/cron.daily: lrwxrwxrwx1 root root Here is the