Useful Snippets

Welcome!


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 Unwanted.cloud

RSS Latest posts from my personal blog


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

Full-stack impostor syndrome sufferer & Software Engineer at Schibsted Media Group

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

      Vignesh,

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