Article 5K7A2 [SOLVED] How to make a cron job for cloudflared

[SOLVED] How to make a cron job for cloudflared

by
tuxthegreat
from LinuxQuestions.org on (#5K7A2)
I want this command to run once a day, every day at the same time. The command is systemctl restart cloudflared . How would I put it into a cronjob, is there a /usr/sbin before systemctl restart cloudflared ? Would this work ? * 12 * * * /bin/systemctl restart cloudflared >/dev/null 2>&1 ? Or am I missing something? I tried it this way but I found nothing in /var/log/syslog.latest?d=yIl2AUoC8zA latest?i=hU-YML39Kq8:7sKESAi25hY:F7zBnMy latest?i=hU-YML39Kq8:7sKESAi25hY:V_sGLiP latest?d=qj6IDK7rITs latest?i=hU-YML39Kq8:7sKESAi25hY:gIN9vFwhU-YML39Kq8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments