Answers.Body: <p>By default any queue jobs for Craft only run when the control panel has been hit. You'll need a cron job or queue worker (such as Laravel Forge's daemons) to run these with no one logged on.</p>
  <p>This is a really good guide to Craft queues, written by Andrew Welch from NYStudio107, it tends to be a go-to resource for this scenario</p>
  <p><a href="https://nystudio107.com/blog/robust-queue-job-handling-in-craft-cms" rel="nofollow noreferrer">https://nystudio107.com/blog/robust-queue-job-handling-in-craft-cms</a></p>
  <blockquote>
  <p><strong>But how do the queue jobs run? Here’s how:</strong></p>
  <ul>
  <li><p>When some­one access the CP</p>
  </li>
  <li><p>Via web request Here­in lies the rub with</p>
  </li>
  </ul>
  <p>the default queue imple­men­ta­tion in Craft CMS. No queue jobs will
  run at all unless some­one logs into the CP, and even then, they are
  run via web request.</p>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-08T13:21:46.293Z
Answers.Text: thank you for your answer , I was kind of in the dark regarding this problem ! I decided to go with the first solution in the article which was the async queue craft plugin, as it seemed to be easier and simpler and it worked perfectly
Answers.UserDisplayName: Meghna Pradhan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-03-08T09:24:37.387Z
Answers.LastActivityDate: 2023-03-08T09:24:37.387Z
Answers.UserDisplayName: cherrykoda
Body: <p>Currently I have set up the new integration using Hubspot's private app's access token for my craft cms site. The integration seems to be working fine except that the messages from my craft cms form only syncs to hubspot when I log into my craft cms control panel.</p>
  <p>There are also no error messages in the log and I have tried refreshing the integration too.</p>
  
Tags: <integration>
Title: Hubspot integration form data syncs only after logging in to craft cms control panel
ThreadText: # Hubspot integration form data syncs only after logging in to craft cms control panel
  
  (Asked by: username_0 on 2023-03-08)
  
  Currently I have set up the new integration using Hubspot's private app's access token for my craft cms site. The integration seems to be working fine except that the messages from my craft cms form only syncs to hubspot when I log into my craft cms control panel.
  
  There are also no error messages in the log and I have tried refreshing the integration too.
  
  **Tags:** integration
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-03-08. Score: 2 | Accepted answer
  
  By default any queue jobs for Craft only run when the control panel has been hit. You'll need a cron job or queue worker (such as Laravel Forge's daemons) to run these with no one logged on.
  
  This is a really good guide to Craft queues, written by Andrew Welch from NYStudio107, it tends to be a go-to resource for this scenario
  
  <https://nystudio107.com/blog/robust-queue-job-handling-in-craft-cms>
  
  > **But how do the queue jobs run? Here’s how:**
  >
  > * When some­one access the CP
  > * Via web request Here­in lies the rub with
  >
  > the default queue imple­men­ta­tion in Craft CMS. No queue jobs will
  > run at all unless some­one logs into the CP, and even then, they are
  > run via web request.
  
  > **Comments:**
  > **username_0**: thank you for your answer , I was kind of in the dark regarding this problem ! I decided to go with the first solution in the article which was the async queue craft plugin, as it seemed to be easier and simpler and it worked perfectly  
  
  ---
  
  