title: Macbook crontab: "Service cannot load in requested session"
body: <p>macOS Majoave 10.14.4</p>
  
  <p>My Mac is set to go to sleep after 5 minutes of no activity. I used Jiggler to prevent this. I set up a crontab that will automatically start Jiggler 8am in the morning.</p>
  
  <p>0 8 * * * open -a Jiggler</p>
  
  <p>It worked fine before but stopped working a few days ago. From the log I can see something like below:</p>
  
  <p>com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.0): Could not import service from caller: caller = open.79537, service = com.stick.app.jiggler.13728, error = 134: Service cannot load in requested session</p>
  
  <p>What could be the issue and how to fix it?</p>