Score:1

CentOS scheduled OOH restart of service

us flag

I would like to schedule a one-off OOH restart of a service using cron.

Can I just add something like:

/usr/sbin/service myservicenamehere restart

... in the crontab, to run once?

Score:0
by flag

Yes, just add this in your crontab file if you wanted to your restart the 2:00 AM on April 15th

0 2 15 4 * /usr/sbin/service myservicenamehere restart
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.