Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • crontab to restart service

    Posted on

    Hello, I'm working on creating a crontab to restart a service but when I do it I check the service and it hasn't restarted.

    Example. Here I created a crontab to restart the firewalld service every minute, but when I check the service it's still showing the same time/date on last time it was started. here are my commands

    crontab -e

    restart firewalld.service every minute

            • root systemctl restart firewalld.service

    After this I run

    systemctl status firewalld.service

    This shows the same time It was restarted a couple months ago

    Not sure what i'm doing wrong

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat