Announcement

Collapse
No announcement yet.

How to debuging Scheduled Jobs?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to debuging Scheduled Jobs?

    Hello!
    How can I debug Scheduled Jobs using php-functions: print_r or var_dump or echo?
    I created all files and clear cache and started the development. I saw only errors and warnings information about the scheduled job in the file data/logs/espo-xxxxx.log. But I would like to see more information(debag info) after launch my sceduled jobs...

    Thanks

  • #2
    I couldn't find a way to use debug when developing scheduled tasks. I didn't create Scheduled Jobs class, but I created simple php files and use spaghetti code for creating scheduled tasks. I began to add manually all these php files in crontab.

    If anyone knows how debug(using php-functions: print_r or var_dump or echo) using the approach from the documentation:
    https://www.espocrm.com/documentatio...scheduled-job/

    Please let me know how to do it.

    Thanks

    Comment

    Working...
    X