Title: Create script php for Cron
Last modified: August 31, 2016

---

# Create script php for Cron

 *  [Justine13](https://wordpress.org/support/users/justine13/)
 * (@justine13)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/create-script-php-for-cron/)
 * Hello,
 * I currently just created a website dedicated to selling real estate. My client
   subscribes to a CRM “Expert Agent” to synchronize data with various property 
   portals.
 * This CRM informed me that I had to create a php script to set up a Cron synchronization.
   This synchronization seems easily achievable through OVH (my host).
 * I’m having trouble to create this script, I do not know at all what to do with
   what began, what to put in it and how to make a connection with my properties.
 * I need your advice!
 * thank you for your support

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [ditikos](https://wordpress.org/support/users/ditikos/)
 * (@ditikos)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/create-script-php-for-cron/#post-6971557)
 * Probably you should see what the CRM needs in terms of data (title? agent? photo
   url? etc), how it needs to be inserted to the CRM and then you would need to 
   make a page that draws these data (probably in xml format containing those data,
   taken realtime or cached for an amount of time) from the wordpress database.
 * It is fairly easy if you check the codex. You would probably need to have knowledge
   or assistance from wordpress codex [https://codex.wordpress.org/](https://codex.wordpress.org/)
   and how to use wpquery (at most).
 *  Thread Starter [Justine13](https://wordpress.org/support/users/justine13/)
 * (@justine13)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/create-script-php-for-cron/#post-6971571)
 * Hello,
 * The CRM will produce an xml file, I’ll must to upload it to my server.
    At that
   time, I have to pass this information to my database. but I do not know how to
   do, I have to upload the xml file on my wordpress or php my admin? Or create 
   a script that uploadera this data?
 * Then I need to create a cron job, I can do it on OVH, but I have to call a php
   script file, and I do not know how to create it. You know ?
 * thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Create script php for Cron’ is closed to new replies.

## Tags

 * [20q2016](https://wordpress.org/support/topic-tag/20q2016/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Justine13](https://wordpress.org/support/users/justine13/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/create-script-php-for-cron/#post-6971571)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
