A doubt about Cronjobs

Discussion in 'Installation/Configuration' started by João Varanda, Aug 24, 2018.

Tags:
  1. João Varanda

    João Varanda New Member

    Hello,
    Recently I find this tutorial to config cronjobs, the first think I have do is list all cron available in actual logged user (crontab -l), but next I have used the command to delete all cron available (crontab -r), so as I had done the listing first, I copied the crons from that listing and re-edited the document from where I deleted the crons and re-pasted again.
    I wonder if after that, it will continue to function properly as before.
    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    When you pasted the exact same cronjobs back to the document that you removed first, then the cronjobs should be working again.

    As a side note: Cronjobs for websites should be configured in ISPConfig, not manually in the crontab.
     
  3. João Varanda

    João Varanda New Member

    Thank you, that's what I needed to know.
    I needed to tweak the crontab to create a command that will run every 12 hours and create a snapshot of my server.
     

Share This Page