Displaying 20 results from an estimated 40000 matches similar to: "Cron job? or something else? help.."
2008 May 23
2
manage cron jobs
Hi All,
is it possible to delete cronjobs by patterns using ''cron'' resource?
I.e. I want to make sure that there is no any cronjob that contains "/
path/to/some/unneeded_file" command in root crontab without knowing
the command possible parameters and schedule.
If no, any suggestions about how it can be performed are welcome.
Thanks in advance
2018 Feb 06
3
CRON JOBS
Buenas,
Voy a dejar un programa en produccion en un servidor, el cual tiene que ejecutarse cada minuto, y si se reinicia el servidor o lo uqe sea, que se ponga a trabajar directamete.
?R server permite hacer eso, o tengo que generar un script que se ejecute desde un cronjob del servidor?
Desde mi ignorancia, considero que la segunda opcion es la m?s robusta frente a fallos.
Un saludo
Jes?s
2010 Feb 25
3
block port forwarding?
Hello,
?i have internet usage rules for all of my network.
only 2 servers have full access to the internet..
lately i've noticed that lots of traffic being produced by the servers ..
is there a way to know whose using port forwarding to my server so they access the internet ?
or is there a way to block people from doing such a thing ?
2010 Dec 17
3
Recent (unfun) experience with cron resource on Solaris 10 with puppet 0.25.5
I was attempting to set up some cron jobs via puppet.
I was trying to get cron to mail the output of the cron jobs to a specific user, so I was
attempting to set MAILTO=user@example.com, via the environment => specifier.
Puppet did as it was told.
Unfortunately, I guess that Solaris 10 does not support setting of environment variables in crontab files (directly), so
when puppet attempted to
2012 Mar 05
5
cron job not running
hello list,
I am attempting to backup a centos 5.4 (x86_64) server running mysql
with a cron job. Here's how the cron job looks:
[root at cloud:/home/bluethundr/backupdb] #crontab -l
* 3 * * * /usr/bin/mysqldump jfwiki >
/home/bluethundr/backupdb/wiki-$(date +%Y%m%d).sql
However if I run the command from the command line it seems to work fine.
If I grep syslog for cron this is what
2015 Oct 11
4
Exists some problem with cronjobs under CentOS7
On Sunday, October 11, 2015, Jonathan Billings <billings at negate.org> wrote:
> On Oct 11, 2015, at 8:20 AM, C. L. Martinez <carlopmart at gmail.com
> <javascript:;>> wrote:
> > I am having strange problems with my cron jobs in my CentOS7 kvm
> > host. After the initial install and first boot, any cron job
> > configured had run (including cron tasks
2009 May 27
2
Cron Job?
Hi All,
How does one create a cron job that runs commands like:
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=xxx.com -update
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=yyy.com -update
Say every 15 mins?
-Jason
2009 Oct 19
3
gpg command works fine from login shell, not from cron script
I have an odd situation here, maybe one of you can help.? We have a
script that runs via a cron job.? It's purpose is to decrypt
PGP-encrypted files in a certain directory.? I have tried the command
two different ways, both fail with the same error message:
gpg --decrypt $file > ${file%.txt}.decrypted.txt
gpg --output ${file%.txt}.decrypted.txt --decrypt $file
(Don't even ask about
2010 Jan 15
7
how to send mail from console
Hi all,
i'm trying to get a script to send me an email whenever a certain
condition takes place..
i'm afraid i dont have experience with mail command nor anything else
related to sending emails for that matter..
i googled a bit and tried using mutt and mail ...
though i do not recieve any email in my inbox...
the command im using is the following : mail -s ?disk space report?
2006 Jul 25
2
Cron not sending e-mails anymore
Hi,
I have a cronjob that executes a script that has some echo statements
in it and the commands in it also generate output (it copies files,
reloads services, etc...).
Recently, cron stopped sending its output by e-mail. I restarted cron,
without success. Any ideas where I shoud start to debug this?
Regards,
Ugo
2009 Oct 19
4
Backing up a centos serveR? how to ? Newbie question..
Hi all,
excuse my newbie question but how can i backup my centos server?
i have a dozzen of virtual hosts over it as well as substantial database entries..
i've backed up the following directories using rsync:
workspace/
/etc/httpd/
/etc/apache-tomcat-6.0.20/
/usr/lib/mysql/
/var/lib/mysql
though i'm still not at ease with this, so i decided to do a some sort of clone or something
2011 Feb 28
2
cronjob to intiiate checkdisk ?
Dear all,
I'm trying to find a way to automate checkdisk every 1 month on a weekend.
in other words i want checkdisk to run every saturday morning.
i can of course change the default mount/count though that wont let me control WHEN it will happen.
so i need your expert opinion with the following if possible:
1. reboot into single user mode
2. start checkdisk for all disks
3. once done,
2017 Nov 15
6
run bash <filename> from cron
This might be a bit OT, but I've never had to do this before and what
I've googled doesn't seem to be working.
I have an ansible playbook that I'm working on that I want to run as a
cronjob.? One task I'm having trouble with is where I have a text file
with lines like:
rd.pl "blah blah"
rd.pl "blah blah blah"
This text file has to be 'executed'
2010 Sep 18
4
securing centos 5.2 for public usage
Dear all,
i Just finished setting up an apache service on a centos 5.2 VM machine.
i need to secure this machine as i'm soon to be setting a public IP over it where i'd be opening up the following services:
1. http
2. https
3. ssh
Things i've done so far:
1. stopped root ssh access in sshd.conf
2. tried configuring PAM so i get a more secure ssh passwords (dictionary wise) as
2010 Mar 16
2
cron.hourly runs twice
For some reason I cannot fathom,
cron.hourly runs twice each hour
on one of my two CentOS-5.4 systems,
as reported in /var/log/cron:
-------------------------
Mar 16 14:01:01 helen crond[27833]: (root) CMD (run-parts /etc/cron.hourly)
Mar 16 14:01:01 helen crond[27834]: (root) CMD (run-parts /etc/cron.hourly)
-------------------------
On the other it just runs once, as expected.
2010 Apr 20
5
Debugging slow apache server?
hello,
i'm using an apache server to host 8 virtual hosts.
even though this server is local.. 7 out of these 8 virtual hosts open extremly slow..
it takes around 10 seconds to open a page..
though the 8th (which is a completely different site) it opens fairly fast in around 1 or 2 seconds tops..
i tried tailing the error_log and i found nothing ..
is there a way i could monitor wht each
2007 Dec 19
2
Getting email from cron when script is run manually
We have some third party software running on a CentOS 4.5 virtual
machine. The software is delivered as compiled python and I wrote an
init script for it myself (/etc/init.d/gk). Because the software lacks
the usual robustness of CentOS services, I have a bash script
(/etc/cron.daily/gk-restart) which simply calls "/etc/init.d/gk
restart". So, as expected, root gets an email every day
2007 Apr 21
14
cron and name with ''.''
I dont know if i am missleaded but it seems to me that the cron type
does not accept names with a ''.'' in it ? I tried to add a cron with a
name cron1-$domainename and it does not accept it. If i remove the ''.''
in the domain it work. I am using .22.3 anyone seeing the same behavior
? If yes i will fill it as a bug.
--
Cordialement,
Ghislain ADNET.
AQUEOS.
2006 May 22
1
MVC and cron jobs
I have a cronjob that runs "ruby script/runner ''Channel.preload''".
Channel is a parent model, Item is the child model (i.e., Channel
has_many :items and Item belongs_to :channel). The coupling is
minimized, the coherence looks good, but I''m not sure the model is the
right place to put this code. Is there a better place to put this
code, e.g., a component (I
2011 Mar 04
3
Updating hardware clock from cron
Is there a package to do this?
Normally the hardware clock is set during shutdown if one is running ntpd.
But if a long-running server shuts down unexpectedly, this isn't done, and
the hardware clock might be off by a lot when it comes back up. So setting
it periodically from a cron job could be useful.
What do others do? Adding a one liner to /etc/cron.daily that invokes