Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: Trygenesys12 on May 04, 2020, 04:44:12 AM

Title: Schedule synchronization to run everyday at 2AM
Post by: Trygenesys12 on May 04, 2020, 04:44:12 AM
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
Title: Re: Schedule synchronization to run everyday at 2AM
Post by: Kubig on May 04, 2020, 06:03:35 AM
Use cron daemon to schedule running custom scripts etc
Title: Re: Schedule synchronization to run everyday at 2AM
Post by: Janis on May 04, 2020, 06:04:37 AM
Search for “crontab daily”.
Title: Re: Schedule synchronization to run everyday at 2AM
Post by: cavagnaro on May 05, 2020, 02:47:11 PM
If Windows...Task Schedule...
What is being taught at school these days?  ???  :P :P :P