CRON every X seconds

Discussion in 'General' started by martinhe, Mar 31, 2022.

  1. martinhe

    martinhe Member

    Hello,

    I need a CRON trigger eg every 20 seconds.

    Through crontab, I would solve this as follows:
    * * * * * root echo 'date' >> /tmp/cron-date.log
    * * * * * root sleep 20 ; echo 'date' >> /tmp/cron-date.log
    * * * * * root sleep 40 ; echo 'date' >> /tmp/cron-date.log


    Am I able to enter the three tasks via CRON in ISPConfig?

    Thanks for the information.
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Haven't tried it, but that should work.
     

Share This Page