similar to: rake not working when called through cron

Displaying 20 results from an estimated 30000 matches similar to: "rake not working when called through cron"

2007 Jul 23
1
Ferret indexing problem through rake tasks
I''m having a weird problem. Recently, on all my environments, one of my two indexed models is not returning any results to acts_as_ferret. However, the folder is being created for it and Im not receiving any errors. On my two models, I call the following: Book.rebuild_index User.rebuild_index When I call those commands through either my live app "ruby script/server" or
2007 May 16
7
return ONLY total_hits without querying from real database
Hey guys, I know I can run search(q).total_hits, but if I try to put :limit=>0 it gives me an error. I don''t want it actually query any of the results, I just want it to tell me how many total_hits I would have if I wanted to search it. How can I do this? -- Posted via http://www.ruby-forum.com/.
2007 Jan 06
2
S3 throwing invalid argument using AWS S3 API
Hello, Im using the following amazon web service API for S3 : http://amazon.rubyforge.org/ The problem is that after I establish a connection using establish_connection!, and try using the "store" command, I keep getting the following error. However, if I reboot my webrick server, it works fine for about one hour and then starts throwing this error: Errno::EINVAL in
2012 May 18
2
Ideas For Handling Rake Task Errors
I am looking for some ideas on how I can create some way of error alerts for failed rake tasks and how some of you are handling something like this. Basically if a rake tasks fails I would like to have some kind of alert by email that the task did not complete. Are there any services that your using to do something like this? Currently I am running these tasks via cron. Thank You -- You
2013 Aug 29
5
Problem when using bundle exec rake with Launchd
Dear all, I am developing a web harvesting server which requires regularly website parsing. Since I use Mac 10.8 as my development environment, I try to use Launchd to routinely wake up my parser. My parser was a bash script which has only two lines: 1. cd $HOME/ProjectFolder 2. bundle exec rake dailyTask:dataParse When directly execute the script under Terminal, there is no problem.
2007 Apr 24
2
remote database ActiveRecord model
Does anyone know how to make a model connect to a remote database and only for that specific model? That way I can do the typical CRUD functions on a remote server? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,
2011 Jan 05
3
cron jobs fail to run
hey centos long time no hear! :) I'm having a small issue where the backup jobs that I set to run in the crontab of the backup user do not appear to be running. Here's how I set it up (with crontab -e as the backup user): run amanda every night (check at 2:45 and backup at 3) 45 2 * * * /usr/sbin/amcheck /var/log/amanda/crontab/amcheck.log * 3 * * * /usr/sbin/amdump
2017 Jul 20
4
Cron sending to root after changing MAILTO
> Date: Thursday, July 20, 2017 02:25:52 +0000 > From: Richard <lists-centos at listmail.innovate.net> > >> Date: Wednesday, July 19, 2017 23:31:10 +0000 >> From: Chad Cordero <ccordero at csusb.edu> >> >> It?s being rejected before it even reaches the mailbox, so >> forwarding won?t work.? Crond should really be using the MAILTO >>
2007 Mar 13
2
cat cron jobs into crontab
Hi, What's the best/safest way to "cat" the following job into crontab? */3 * * * * /usr/lib64/nagios/plugins/check_megaraid_passive.sh > /dev/null 2>&1 I am used to doing this manually via crontab -e, but now I simply have too many centos servers to build in a given week (get to toss another 120K at some more 2U chenbro/tyan/amd64's -w000ooo). -karlski
2007 Feb 10
1
calling destory on HABTM clear
I know this is probably stupidly simple, but I can''t seem to figure it out. I have a many-to-many association using HABTM. Im trying to clear all the stuff in the join table and call destroy on all the joined items. For example if I have a many to many for albums and photos, def method album=Album.find(4) album.photos.clear # NOW HOW DO I DESTROY ALL THOSE PHOTOS? end The things I
2015 Mar 11
3
Tasks in /etc/cron.daily on CentOS 7?
Hi, I just configured SquidAnalyzer, a nifty little network statistics tool that I'm using mainly in school networks to monitor network usage. I want to run the '/usr/bin/squid-analyzer' script once a day. I took a peek in /etc/cron.daily, and the package already installed an /etc/cron.daily/0squidanalyzer script. I wanted to know at what time CentOS ran the cron.daily scripts,
2006 May 08
5
Cron Scheduling Problem
Hello, The following cron job is failing to run: 00 16 * * * root ruby /home/nathan/rails/notifications/script/runner -e production Notifier.deliver_summary My understanding from the Rails Wiki is that this should do it. Can anyone shed some light on what I may have setup wrong? Thanks! Nathan Mealey Operations Director Northeast Region Pilgrim IT, LLC NORTHEAST OFFICE 1
2006 Jan 09
2
Scheduling tasks using cron...
Hi all. Can anyone help me with scheduling tasks? I'm running Centos4.2 (updated via yum starting from 4.0). I know I have vixie-cron and anacron packages installed (came like that, from first install, I guess). I read the crontab syntax man page (man 5 crontab) and I made an entry as a normal user (using crontab -e) that looks like the following: 30 0 9 1 1 /bin/ls -F /home/jose >
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.
2008 Jan 01
2
cron clarification
What is the ramifications to simply placing scripts in the /etc/cron.hourly directory as opposed to actually adding jobs via the crontab -e method? Is there any significance to using one method versus the other? Thanks! jlc
2020 Feb 27
3
CentOS 8.1 cron does not send mail
Hi, we experience difficulties with crond behaviour sending mail since CentOS 8.1. The cron job is the same like we used in CentOS 7. crontab -l /usr/bin/python3 -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/backup.sh backup.sh writes the backup to the remote backup server. There are around 30 machines with the same cron job. The python
2014 Jul 28
1
Cron
Do you need cron installed for the files in /etc/cron.daily/ to execute? Did a Centos 6.x minimal openvz install and noticed cron is not installed by default and after installing mlocate cant help but wander if it will be updated without it.
2017 Jul 19
5
Cron sending to root after changing MAILTO
It?s being rejected before it even reaches the mailbox, so forwarding won?t work.? Crond should really be using the MAILTO variable and it?s not. --- Chad Cordero Information Technology Consultant Enterprise & Cloud Services Information Technology Services California State University, San Bernardino 5500 University Pkwy San Bernardino, CA 92407-2393 Main Line: 909/537-7677 Direct
2007 Jul 16
3
learning the cron module
OK. I thought I would start by looking at how cron.rb in the puppet lib/type works because what I''m trying to accomplish is similar. However, when looking through that, it wasn''t immediately obvious to me how or when the resulting cron file was getting written out. Is this getting stored up in some instance var or something? Maybe getting sent to standard out and some
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