Genesys CTI User Forum > Genesys-related Development

Schedule synchronization to run everyday at 2AM

(1/1)

Trygenesys12:
Hello,

Thank you in advance for your time and help!

I am beginner in programming in powershell or batch.

I need to run below curl command everyday at 2AM .

Can someone help me with this. In other word, how to Schedule this Tasks on Linux redhat.

curl -u ops:ops -d @sync.txt -X POST http://<gws host>:<gws port>/api/v2/ops/genesys-environments/ON_PREMISE_ENVIRONMENT/services/synchronization -H "content-type: application/json";echo

Thank you

Kubig:
Use cron daemon to schedule running custom scripts etc

Janis:
Search for “crontab daily”.

cavagnaro:
If Windows...Task Schedule...
What is being taught at school these days?  ???  :P :P :P

Navigation

[0] Message Index

Go to full version