Title: Cron Error
Last modified: July 3, 2022

---

# Cron Error

 *  Resolved [freevidual](https://wordpress.org/support/users/freevidual/)
 * (@freevidual)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cron-error-19/)
 * Hi, I added the cron as specified in your video, but I’m getting error:
    Line
   1: syntax error, unexpected ‘:’, expecting ‘)’
 * What should I do to fix that?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * (@ameliabooking)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cron-error-19/#post-15801900)
 * Hello there.
 * This error is not coming from Amelia, but the cron plugin you’re using.
 * Make sure that you’re adding the command properly. It should be in this format:
 * file_get_contents(“url-from-a-scheduled-notification”);
 * Most likely, you used : instead of ; or ).
 * Kind regards

Viewing 1 replies (of 1 total)

The topic ‘Cron Error’ is closed to new replies.

 * ![](https://ps.w.org/ameliabooking/assets/icon-256x256.png?rev=3429091)
 * [Booking for Appointments and Events Calendar - Amelia](https://wordpress.org/plugins/ameliabooking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ameliabooking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ameliabooking/)
 * [Active Topics](https://wordpress.org/support/plugin/ameliabooking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ameliabooking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ameliabooking/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ameliabooking](https://wordpress.org/support/users/ameliabooking/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/cron-error-19/#post-15801900)
 * Status: resolved