Comments (3)
I'm so sorry, but this feature does not exist. I cannot think of a way to achieve it with Cronicle. I will add this as a feature request.
from cronicle.
from cronicle.
You can achieve this by using the shell plugin and some if-then clauses:
#!/bin/bash
export VAR=0
if [[ $(hostname -a) == "server01" ]]; then
export VAR=1
fi
if [[ $(hostname -a) == "server02" ]]; then
export VAR=2
fi
if [[ $(hostname -a) == "server03" ]]; then
export VAR=3
fi
echo $VAR
works for me. depending on the executing server, the correct variable is output.
from cronicle.
Related Issues (20)
- Unable to call POST methods against the API in multi-server Cronicle cluster HOT 1
- Getting Session Time out very quickly and getting logged out HOT 2
- Log live watcher will not connect HOT 2
- api call: set event timing to "on demand" HOT 1
- Puppeteer Cron Job Event HOT 1
- How to properly update plugins? HOT 1
- https behind haproxy HOT 1
- Worker behaving strange after copying the server HOT 9
- how to clean log HOT 2
- Problem using advanced features of shell plugin on Ubuntu server HOT 1
- Shell plugin does not work on AIX. Cannot execute shell. HOT 1
- Docker Image Request HOT 2
- Primary cannot stay connected to worker behind a load balancer HOT 5
- Can't change IP Address for master server
- Error: Cannot find module '../package.json' after reboot HOT 2
- Cronicle UI constantly reloading landing page (completely blank) when accessing via exposed port HOT 3
- Cannot run python script which calls headless chromium HOT 2
- Sub-Parameter enhancement HOT 4
- Aborted Job: Server 'worker1' shut down unexpectedly HOT 3
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 cronicle.