Comments (7)
Please run 'whenever' with no options and past the output. It won't touch your crontab file.
from whenever.
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/ucb:/etc:.
0,10,20,30,40,50 * * * * /home/aptana/domains/blah.aptanacloud.com/web/releases/20091120181631/script/runner -e production "EmailList.send_mails"
from whenever.
The above path is the most recent "whenever" i get if I just cd into the release directory and call "whenever"
from whenever.
Solaris (and probably some other unices) don't support setting the path in a crontab, it has to be set systemwide (in /etc/default/cron).
Would be good to have an option to disable the PATH= line
from whenever.
Good to know, thanks.
from whenever.
As a workaround, I added the following to my schedule.rb
if RUBY_PLATFORM =~ /solaris/i
set :set_path_automatically, false
end
seems to have done the trick.
from whenever.
Awesome. Sorry, I forgot you could turn that off -- you're on a roll!
from whenever.
Related Issues (20)
- Rails 6.1 no longer listens to -e param for runner HOT 2
- Please require the Numeric after NumericSecond for scope visibility
- Adding timeout to prevent overlapping cron jobs HOT 2
- Ruby raising "Operation not permitted -- ../bin/bundle (LoadError)" error
- AWS AL2 v3 - Source environment HOT 1
- Issue when using runner HOT 2
- Missing "script/runner", undocumented dependency on rails? HOT 2
- Incorrect crontab generated when using "days after/before"
- Support for every other hour with offset (1am, 3am, etc.) HOT 3
- Operation not permitted - getcwd (Errno::EPERM) HOT 4
- How to set the daily time as the time of a certain time zone, thank you HOT 1
- How to change the shell by default (bash) ? HOT 1
- How do I "namespace" the crontab entries?
- ActionView::Template::Error (undefined method `>' for nil:NilClass): HOT 1
- Ruby 3.2 autocompletion in console HOT 9
- We need to move from travis-ci to github actions
- How to execute multiple tasks with a single runner ? HOT 1
- whenever command is not working HOT 1
- [Feature Request] Add Dashboard for whenever cron job activity monitoring
- Bundler::RubyVersionMismatch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whenever.