Comments (4)
@kstange I added the following to the plugins/init
script
crontab -u redmine -l 2>/dev/null >/tmp/cron.redmine
echo '* * * * * date >> /tmp/date.log' >>/tmp/cron.redmine
crontab -u redmine /tmp/cron.redmine 2>/dev/null
rm -rf /tmp/cron.redmine
I can see that the date is being output to the /tmp/date.log
file every minute. Can you try this?
As a side note, the example cron for the recurring tasks plugin in your documentation is set to run at * */4 * * * which is once per minute for an hour, every 4 hours. I chose 15 */4 * * * for a more reasonable schedule.
This line is directly taken from the recurring_tasks readme. You are free to choose whatever schedule you desire.
from docker-redmine.
I meant that the line on the recurring_tasks readme is an insane example and that I would recommend not advising people to use it! I was planning to contact the recurring_tasks maintainer to suggest the same.
Date is working correctly. I think that the problem is that the cron PATH value is set to
PATH='/usr/bin:/bin'
bundle is in /usr/local/bin/
So the correct revision should be:
15 */4 * * * cd /home/redmine/redmine && /usr/local/bin/bundle exec rake redmine:recur_tasks RAILS_ENV=production >> log/cron_rake.log 2>&1
from docker-redmine.
@kstange ahhh... does that work for you. If yes, then I will update the readme.
from docker-redmine.
@sameersbn Yes, it works now! Thanks.
from docker-redmine.
Related Issues (20)
- Help:Unknown system variable "transaction_isolation" HOT 6
- Multiple problems on rebuilding the redmine image HOT 3
- Upgrade from 5.1.0 to 5.1.1-1 rake aborted HOT 9
- postgresql container fails to start and report error: popen failure: unable to allocate memory initdb: error: The program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/14/bin/initdb". HOT 2
- How to upgrade from sameersbn/redmine: 4.1.1-8 to sameersbn/redmine: 5.1.1-1 ? HOT 5
- redmine:5.1.1-1 ocker-compose up error HOT 3
- An error occurred while sending mail HOT 10
- Can't download large files HOT 4
- Build is failing HOT 4
- Run sameersbn/redmine with an External Azure MySQL database HOT 2
- 5.1.1-4 dies because of Matrix in gem HOT 7
- MOving back from 5.1.1 to 5.0.7 HOT 1
- Bug: github workflow should only tag "latest" for changes to master branch HOT 2
- Failed: Upgrade from 5.0.7 -> 5.1.2 on Synology Docker HOT 4
- ERROR 1193 (HY000) at line 1: Unknown system variable 'tx_isolation' with a MySQL DB version 8.1 HOT 5
- Container is not able to connect to the internet using the bridge network on Synology DSM 7.2 HOT 9
- IMAP email job not working in 5.1.2+ HOT 6
- container "redmine-mysql-1" does not start with docker v26.0.2 and works with 26.0.1 ... ? HOT 3
- Invalid form authenticity token error HOT 11
- Internet is not ready when plugin installing and rubygems update is required
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 docker-redmine.