• Resolved jvwx

    (@enfueggo)


    I’ve searched the docs and forum/Github for this but I’m just not well versed enough with Cron jobs to feel confident I know the answer to this: what Cron Event(s) should I see within WP Crontrol that handle pull-only syncs? Or is action_scheduler_run_queue enough?

    I have to ask because I’m authenticated, have setup a fieldmap, and the data is usually successfully pulled in — but when I look at Cron Events within WP-Crontrol there are no references to object_sync or salesforce like I’m pretty sure I should be seeing. Screenshot: https://s3-us-west-1.amazonaws.com/jvworks/screenshots/20200908-051421.jpg

    I’ve de/reactivated the plugin as I’ve seen mentioned (in case something happened during activation and tables weren’t created). Other plugins like Gravity Forms seem to have their own cron events setup fine. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Sure, this plugin uses the Action Scheduler library (it’s an older version and needs to be upgraded). So it doesn’t put its events into Cron, they’re sub events of action_scheduler_run_queue. But in addition, ActionScheduler does have its own admin interface at /wp-admin/tools.php?page=action-scheduler that can sometimes be helpful.

    Thread Starter jvwx

    (@enfueggo)

    Ahh, thank you so much! It’s been sitting right there the whole time but I wasn’t familiar with the ActionScheduler log. Looks like I had object_sync_for_salesforce_pull_check_records pending 4 times, which surely lead to weird issues and my general confusion.

    I currently have “Pull from Salesforce” set to “run schedule every 3 minutes” but 3 were running every 2 minutes and 1 was running every 3 minutes. I deleted the 3 incorrect ones and hopefully this helps things run a little more smoothly. (I’ll slow it down for production but have it often now for testing)

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I’m going to mark this one as resolved for now, in the hopes that you were able to figure it out.

    Thread Starter jvwx

    (@enfueggo)

    Sorry, thought I marked this as resolved. Yes, deleting the duplicate pending Action Scheduler items solved my issue. Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pull to WP works… without a Cron Event?’ is closed to new replies.