Comments (3)
Hi Merijn,
I think you not only mean the cronJob but all CLI-actions.
In my opinion the best way to do this is to give it as an argument to the CLI-action
eg. cli.php go.groupoffice.local r=cron/cron
Via a curl request you can get all appropriate settings for this domain (https://go.groupoffice.local/settings/store) and set this (jmap-)response in a session var.
In case of a servermanager installation the cron-job can exec the cli with the correct hostname because this is known in the database.
I have sample codes from other projects if interested. You have my contact details.
Kind regards,
Pieter
from groupoffice.
I've resolved this. The hostname should be stored in the configuration so cron and cli scripts can use it. We should pass the config.ini to the cli scripts.
from groupoffice.
Could we use a relative path to the config.ini? Making it optional to pass the config.ini
from groupoffice.
Related Issues (20)
- CalDAV-Event send mail with english subject HOT 2
- 6.8.39 Error when updating with mysql db server HOT 7
- inability to change customer HOT 1
- Add files directly from pc to event HOT 1
- schedule emails to send at a later specified date
- Canceled reservation and unclear mail
- Can't edit tasks, after adding file for ex. pdf to a task HOT 5
- Confirm close window with changes HOT 2
- Feature / improvement - changing FROM of an account
- Feature: auto-refresh
- Missing null check HOT 1
- LDAP - Synchronize users checkbox HOT 1
- /install/upgrade.php too slow HOT 10
- Error login with IMAP Authenticator [Passing null to parameter #1 ($haystack)] HOT 2
- Project permissions
- PL holidays file
- Most of the config.php params does not work HOT 3
- Proxy headers (X-FORWARDED-FOR) are ignored for "Authorized clients" HOT 20
- [6.8.53] Email styles read / unread message
- GroupOffice 6.7.83 Installation Issue 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 groupoffice.