dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Cron Script (/bin/cron)  (Read 63 times)

andrew

  • Guest
Cron Script (/bin/cron)
« on: March 30, 2015, 04:51:24 PM »
the cron script lives in /bin/cron and FIRST edits the Cron Table and NEXT, it reloads the cron daemon (crond) to save then refresh it.

LINUX COMMAND LINE FUNCTION ONLY

1. takes a database backup every hour and on the first minute.

2. warns with "SYSTEM BEING SHUT DOWN IN 5 MINUTES" message sent to everyone, 5 minutes prior to 3.

3. reboot the system at 03:00 GMT+11 hrs. (Daylight Savings Time) every night.
« Last Edit: March 30, 2015, 07:52:37 PM by andrew »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions

Tags:
 

Related Topics

  Subject / Started by Replies Last post
2 Replies
12816 Views
Last post August 11, 2015, 08:23:41 AM
by Chip
21 Replies
21743 Views
Last post November 16, 2015, 04:17:20 AM
by jdub
3 Replies
5477 Views
Last post February 08, 2018, 05:29:01 PM
by skyhiatrist


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal