0

Cronicle is similar to cronjobs Here is GitHub link: https://github.com/jhuckaby/Cronicle#Plugins%20Tab

But I don't know how to add parameters in plugins.

It says

Parameters are passed to your Plugin via JSON, and as environment variables.
For example, you can use this to customize the PATH variable, if your Plugin requires it.

enter image description here

enter image description here

Or Assayag
  • 5,662
  • 13
  • 57
  • 93
Hiba Rehman
  • 127
  • 2
  • 9

1 Answers1

1

In Python

import json,sys

path = json.load(sys.stdin)["params"]["path"]

Cronicle takes json as input

Mike Twc
  • 2,230
  • 2
  • 14
  • 19
Hiba Rehman
  • 127
  • 2
  • 9