similar to: MVC and cron jobs

Displaying 20 results from an estimated 10000 matches similar to: "MVC and cron jobs"

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
2009 Dec 14
5
Cron job? or something else? help..
Hello, i have a certain issue at hand that i'm trying to solve. there's a certain command that i need to execute 10 minutes after boot. how can i set that? im not very expert with cron jobs but can it be done that way? i know that cronjob works on specified time but how can i set it to run with '10 min after startup" as a condition ?
2008 Feb 22
1
Port listening, cron jobs and loading rails environment
Hi, As part of a web application that I am writing I need to have something listening for any packets that are received on a particular port and then process the packets using some of my Rails models, hence I start the script via the ./script/runner command. This script always needs to be running, if it exits for any reason, I need it to start up again very quickly. Hence, I was considering
2010 Aug 02
2
How to monitor Cron jobs?
Hi guys, I understand how to monitor long running processes with monit or god, but I don''t understand how to monitor Cron jobs (for memory bloating notably) since such processes - always have different PIDs when they start - are precisely supposed to stop when they are done, then restart when asked (vs running all the time). I have been looking on the web for a while, but
2007 Dec 27
9
how do you handle recurring tasks
i have several tasks which i need to be executed from time to time .. some every 20 minutes and some only 1 time a day .. you know things like e.g. clearing old sessions, deleting inactive users .. how do you deal with stuff like this? cronjobs? how is your pattern for such things ... thanks in advance -- Posted via http://www.ruby-forum.com/.
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
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'
2006 Nov 04
8
alternatives to script/runner?
I''ve been using script/runner to add and delete files from the database in response to inotify events. This works in theory, but is too slow to keep up with a large number of events in succession; I''m suspecting that the bottleneck is that script/runner has a huge startup cost. One thing I thought of was to queue inotify events, and call script/runner once a minute to clear the
2010 Feb 25
1
FTS cron script to force index updates
From: http://wiki.dovecot.org/Plugins/FTS "You could also build a cronjob to index users' mailboxes once in a while (by selecting each mailbox and issuing a SEARCH TEXT xyzzyx command)." Has anyone written a script to perform the above? If not, how would I do this? Would I write a shell script to telnet to the IMAP port and then issue the commands? Can this be done with a bash
2011 Dec 08
1
/etc/cron.d
Hi all, Who takes care of cronjob in /etc/cron.d ? Should we tell crond to run it? /etc/crontab only mentions hourly, daily, weekly, monthly -- Thanks Fajar
2011 Jun 22
1
Change passwd backend over cron: what happens if changes while reading?
hi, I want to use two backends f?r DoveCot. One generated file from the LDAP tree, and the real LDAP. The first backend is generated from a cronjob thats reads the whole ldap server and converts them into a DoveCot passwd file. I red in the Wiki, if the user password isn't correct, than DoveCot asks the second backend (LDAP). Is this correct? Because, the the user can change his password,
2006 Jun 27
5
Rails cronjob?
I want to be able to write a script in Ruby which regularly consumes an XML feed from a fixed source, re-formats it, produces a large file for web delivery, and updates a database with the contained information. It''s simple - just running a script from a cron job, and some basic data manipulation... But I''d prefer to use the Rails database mapping constructs than roll my
2017 Nov 15
1
run bash <filename> from cron
> On Nov 15, 2017, at 11:48 AM, m.roth at 5-cent.us wrote: > > Mark Haney wrote: >> 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
2010 Jun 03
7
Scheduled tasks in Rails: Cron + wget = Best solution?
Hi there, do you agree that for having scheduled tasks in Rails, the leanest solution is the following? - Create a controller with an action for each task - Implement the logic of the task as controller code - Set up a cron job at the OS level that uses wget to invoke the URL of this controller/action at the appropriate time intervals Advantages: 1) full access to all your Rails objects just as
2008 Feb 20
2
purging unmanaged cron
Should this work? # --- remove any cronjobs that are not managed by puppet. resources { "cron": purge => true } I get the following error. Resources[cron]: Failed to generate additional resources: You must specify a title for objects of type Puppet::Type::Cron Ben
2011 Jun 23
2
Chicken and egg question: passwd and cronjob
Hi all, Let's say I activate password expiration for every account (including root) for every 90 days. I understand that cronjob for root will fail when the password expires. The question is, if I setup a cronjob every 90 days to renew the root password like: echo diFficulT123 | passwd --stdin root will it work? I mean at second 1 on the 90th day, which will run first? - The cronjob to renew
2008 Mar 14
14
Facebooker MQ now on RubyForge
I don''t know if anyone is using this but I just fixed a bunch of bugs, some big ones, and moved this project to RubyForge SVN servers. So you can get it here now: script/plugin install http://facebooker-mq.rubyforge.org/svn/trunk/facebooker-mq/ This is working great for me on a couple of projects. Here is the README Updated: 3/14/2008 Purpose: The purpose of FacebookerMQ is to
2006 Jan 08
3
Sceduling Tasks
I''m working on a RoR project and a requirement has popped up that would required certain actions to happen at certain time intervals (as opposed to having a user initiate the action). Is there anything similar to Java''s Quartz library, *nix cron, or anything of the like for Rails? I''m certainly willing to help with/test Ruby code if someone on the list is already
2006 Mar 24
10
Running Rails tasks by schedule, instead of an HTTP request.
Hi there I''m considering Rails for a new web-application planned to be built from scratch. The application has an extensive web front, and in fact most of the application is interfaced through that front and engaged through clients'' HTTP requests (i.e. the conventional way web-applications and "dynamic web-sites" work). However, some essential parts are supposed to