Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 18:41:50

Author Topic: cron job example  (Read 1573 times)

0 Members and 1 Guest are viewing this topic.

Offline cmdman

  • Senior Member
  • *
  • Posts: 298
  • Karma: +1/-0
    • View Profile
cron job example
« on: 2015-04-19, 20:43:23 »
hi mr

can you giv me example of cron job as i need to restart webserver every one or 2 hours , what i need to fill give one example

sh /script/restart-web
this one


Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: cron job example
« Reply #1 on: 2015-04-19, 22:03:49 »
hi, if every one hour is okay,
then just add simple job like this:

Period: Every Hour

IF everyday the hour: this wont matter if select every hour for period

command:
service ***** restart

for ***** use apache , nginx, or the service you using for webserver.

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.071 seconds with 18 queries.

web stats analysis