Announcement

Collapse
No announcement yet.

How to debug in Jobs base class?

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

  • How to debug in Jobs base class?

    I am writing a custom Schedule for the module I created. But how do I debug to check if it's written correctly? Is there a way to do this?

  • #2
    Hello,
    schedule your job, and run php cron.php in the terminal. Before you can remove running cron.php for crontab (or Scheduled Task)

    Comment


    • #3
      I open the file path in the terminal. I am writing Cron.php. I get this error.

      'cron.php' is not recognized as an internal or external command,
      operable program or batch file.

      Comment


      • #4
        Originally posted by tanya View Post
        php cron.php
        better as server user

        Comment


        • #5
          Thanks I've done it. tanya

          Comment

          Working...
          X