Displaying 20 results from an estimated 20000 matches similar to: "smbget -R creates problem in crontab"
2011 Jun 09
0
Smbget 3.4.7 Permission Denied in Crontab, Not in Interactive Console Session?
Assembled Wisdom,
I was trying to help this poor guy on the intertubes who is having some
bizarre issues with running smbget (version 3.4.7) from a cron script?
Is there are some weird environment variables or something I am missing
that is off-limits to the sh in cron that prevents this from working?
http://serverfault.com/questions/278586/crontab-permission-denied/278595#278595
Best,
_AJS
--
2009 Jun 10
1
CentOS 5.3 cron / crontab missing?
Hi On 6/10/09, James Bensley <jwbensley at gmail.com>
Hi all,
I don't know what exactly is causing this, but I can't find cron /
crontab on my CentOS 5.3 machine.
Yes, I know, it's an obvious one, install it. But, it is, according to rpm:
[root at zaxen01 ~]# rpm -aq | grep cron
anacron-2.3-45.el5.centos
crontabs-1.10-8
I have tried yum update crontabs, and then it said there
2010 Mar 07
2
smbget returns wrong exit code
smbget -Rr smb://localhost/share
[all files and folders are copied successfully!]
echo $?
1
On the other hand, when smbget is introduced with an error
smbget -Rr smb://localhost/shar
Can't open directory smb://localhost/shar: No such file or directory
echo $?
0
This is breaking my error checking in backup scripts. I can't find any
place to file a bug report, I hope this is the right
2006 Feb 20
1
crontab problems
Did you restart the crontab service after the change ?
If not, crontab wont be aware of the changes.
Nassri
> rado wrote:
> > for some reason, crontab is not picking up a job here
> listed. I, for
> > one see nothing wrong w/it as I have been running approx the same
> > basic crontab for well over a year now. I have just put this box on
> > line about a week
2009 Oct 18
2
Confusion about scheduling tasks with crontab
Hi,
I have to setup a scheduled task on a server, and I just read through
some crontab docs. Now I'm confused. It's not so much the syntax of the
cron job to define (I got that), it's more... how do I get to define it?
Use a text editor (vi or the likes) to edit /etc/crontab directly? Or
create some empty file in /etc/cron.daily or /etc/cron.hourly or the
likes and then edit it
2009 Oct 28
1
Inquiry:How to make crontab job permanent even after server reboot?
Dear All
Please be informed that I have an CentOS 5 server and I need it to be
automatically rebooted at pre-specified times . To this end , I tried to set
it as its crontab job as the followings :
#crontab -e
30 15 * * * reboot
It got through but after the server first reboot the crontab job disappeared
. So I tried to set it in another way , as the followings :
set the cron list in /tmp/temp
add
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
[Mod: Sent to linux-security instead of linux alert -- alex]
Dave G. <daveg@ESCAPE.COM> wrote:
> /* vixie crontab buffer overflow for RedHat Linux
> *
> * I dont think too many people know that redhat uses vixie crontab.
> * I didn''t find this, just exploited it.
The vulnerability involves an unguarded sscanf call in env.c. Enlarging
the buffer to the largest
2007 May 07
0
Bug#422618: logcheck-database: crontab should be /usr/bin/crontab
Package: logcheck-database
Version: 1.2.54
Severity: normal
Hello,
it seems crontab reports it's whole path in syslog :
May 6 16:00:03 eckmul /usr/bin/crontab[9722]: (root) LIST (nobody)
I don't have other messages from it in my logs, so I can't comment on
the other lines in /etc/logcheck/ignore.d.server/cron , but I had to
modify the LIST one with /usr/bin/crontab
Thanks,
--
2008 Sep 11
3
cfengine and crontab
The docs to installing cfengine refers to /var/spool/cron/crontabs/root
That doesn't exist. Nor does /etc/crontab. Heck I remember that from the
"old days", now there are lots of cron entries, in /etc but no crontab.
Not installed by default. So, I'm hunting that one down. Nate, what did
you wind up doing?? Ric
--
----------------------------------------------------
My father,
2006 Sep 25
1
Crontab not working....
Hiya all,
just found an odd one on one of our boxes, cron isnt working (for a user
anyway, but can't seem to get it running properly at all), i.e if I do a
crontab -e as a user (who is in /var/spool/cron) and add 19 10 * * *
/bin/touch /home/logadmin/testfile (has permission) its never created. Also
I get no mails from cron to /var/spool/mail/root so guessing maybe cron not
working at all,
2016 Oct 27
1
python script from crontab - problems with proper execution
Hi All.
I currently have a problem with proper invocation of a python script with
cron.
non-root $ crontab -l
#Ansible: script_repo_scanner
55 11 * * * /usr/bin/python /path/script_repo_scanner.py --bb_user bb_user
--bb_pass bb_pass --bd_log_dir /path/logs &>
/path/script_repo_scanner.py.log
And in /var/log/cron I see that cron executed the script but there is no
log output in
2009 Oct 30
3
crontab won't work
Hi,
I have a strange problem here. I have two servers, one dedicated
webserver, and a local backup server.
On the webserver I have this :
[root at 12569hpv163154:~] # crontab -l
00 22 * * * /usr/local/bin/sauvegarde-pmbccps.sh
This launches a backup script every day at 22:00, and it works as expected.
Now here's what I have on the local backup server :
[root at grossebertha:~] # crontab
2010 Mar 11
3
crontab and/or anacrontab ?
Is one meant to have one or the other?
If so, which is recommended?
I have
--------------------------------
[tim at helen etc]$ cat anacrontab
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
1 65 cron.daily run-parts /etc/cron.daily
7 70 cron.weekly
2010 May 13
1
DO NOT REPLY [Bug 7426] New: --files-from= broken when run from crontab
https://bugzilla.samba.org/show_bug.cgi?id=7426
Summary: --files-from= broken when run from crontab
Product: rsync
Version: 3.0.7
Platform: x64
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: bgcladd at gmail.com
2009 Jan 11
1
Rsync error 'unexpected tag 93' when --log-file= parameter is present and run from crontab
L.S.
I hope someone can enlighten me on the following phenomenon.
When I run rsync (3.0.2 or 3.0.4) from a (SH) script as follows:
rsync -vrpth --stats --progress --log-file=/nslu2/rsync.log --log-file-format="%t %i %n%L" --include-from=/nslu2/rsync-files /share/hdd/data/public/Ernst/ 192.168.1.69::rsync-nslu2
All is well; it works fine. Log file is created, both client (NSLU2 from
2013 Jan 23
4
crontab and gedit
hi,
How can I open crontab with gedit any any other editor ?
i want to edit my cron jobs with other editors beside vi.
2010 May 13
4
DO NOT REPLY [Bug 7425] New: --files-from= broken when run from crontab
https://bugzilla.samba.org/show_bug.cgi?id=7425
Summary: --files-from= broken when run from crontab
Product: rsync
Version: 3.0.7
Platform: x64
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: bgcladd at gmail.com
2009 Aug 27
1
Crontab Nobody
I have a crontab for Nobody. I tried to delete it in a root kcron, which I'm
sure is how I dealt with this in the past, but it seems impossible to delete.
Should I delete the file /var/spool/cron/nobody? It is owned root:root, perms
600.
Anne
--
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature? Add it to UserBase
-------------- next part --------------
2008 Jun 22
1
Rsync + crontab centos5.1
Just looking at the "man rsync".
Might as well be duagnosing a plattypus.
I have made a dir on my Cent samba shares to setup a local fedora.repo
(1) How do I get it to run weekly at a certain time. is this correct?
crontab -e 22 7 0 0 /usr/bin/rsync -va
/Fedora-Mirror /local samba share.
(2) Trying to get cron it run 10pm every saturday night.
Log whats happening.
update packages,
2011 Jan 21
2
rsync via crontab spawns over 20 processes
Hi all,
I've been running rsync via cron for a while now and all is well.
However on one particular new 5.5 box, whenever its runs via crontab,
the machine ends up with over 20 rsync processes and a load of ~14 and
eventually the machine dies.
But when running manually, I see it spawn 3 processes with a load of
1.5.
My rsync command is simply;
rsync --delete -avvH --progress source