Useful Snippets


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at

RSS Latest posts from my personal blog

Most viewed posts

Subscribe to RSS feed

Instantly perform cron tasks / daemon run in ZPanel

Stanislav KhromovStanislav Khromov

Useful if you don’t want to wait five minutes before your new domain is added to the configuration.

Simply run:

php -q /etc/zpanel/panel/bin/daemon.php

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
Twitter Profile
Visit my other blog

Comments 2
  • vignesh
    Posted on

    vignesh vignesh

    Reply Author

    I am getting database connection error. when it try directly on SSH.

    • Stanislav Khromov
      Posted on

      Stanislav Khromov Stanislav Khromov

      Reply Author


      That’s weird, what ZPanel version are you running? I tried this on 10.0.1 and it’s working.