Run all services with docker:
docker-compose up --build -d
Visit this url:
http://localhost:8080/admin
and this is the credentials:
username : [email protected]
password : admin
This task's duty is adding it's two arguments and return the result.
- In the admin panel from sidebar click on the
+ Add
button besidesPeriodic tasks
item. - Enter a sample name for your task and select
analytics.tasks.sample_task
for Task. - In the
Schedule
section add new crontab schedule by clicking on+
button.
For example:*/5 * * * *
- In the arguments section add a sample arguments like
[1,2]
- Click on
save
button - You can see the results of the task by clicking on the
Task Results
in the left sidebar.
Visit this URL to run the sample task with (1,2)
arguments. You can see the results of the task by clicking on the Task Results
in the left sidebar.
http://localhost:8080/analytics/sample/