Sponsored Content
Full Discussion: cronjob Command for Shutdown
Operating Systems Linux Red Hat cronjob Command for Shutdown Post 302585608 by babinlonston on Thursday 29th of December 2011 01:10:25 AM
Old 12-29-2011
Debian cronjob Command for Shutdown

Hi Guys Pls give me cronjob command for Network pcs to be shutDown on 06:05 PM is it possible to do in cronjob ? Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

shutdown question from command line

solaris 10 logged in as root to command line...want to shut the system down....could not do this....when i chose shutdown the system seemed to squawk at me saying i'd lose whatever i was working on would be lost unless i logged out...after proceeding through this it took me to the gui log in... (6 Replies)
Discussion started by: drisnya
6 Replies

2. Shell Programming and Scripting

Need a cronjob command

Dear Exerts, I want to schedule a script which could run after every 35 minutes. please find below the command but it is not woring and running after every 35 minutes. 35 * * * * /opt/home/backup/test_dir/abc.sh > /opt/home/backup/test_dir/abc_cronlog.txt Please tell me what is the problem... (7 Replies)
Discussion started by: shary
7 Replies

3. AIX

shutdown command

Hi, After issuing shutdown -F or shutdown -F now my server is getting restarted. Any Idea? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

4. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

5. OS X (Apple)

Problems using shutdown -u command

I have a smart-ups connected to my OS X Snow Leopard server ver. 10.6. Based on the docs and forums I read, I have been trying to use the software provided by APC, PCNS. I have also tried to just use the UPS communications cable provided and use the OS' "UPS options". Neither of them work exactly... (1 Reply)
Discussion started by: mckorn99
1 Replies

6. AIX

Shutdown command

Hi, is there a difference between shutdown -Fand shutdown -h now? (3 Replies)
Discussion started by: x_adm
3 Replies

7. UNIX for Dummies Questions & Answers

how to cancel a cronjob if the cronjob still running

hi everyone I'm newbie in this forum hope I can get some help here :) I have a command in crontab that executed every 1 minute sometime this command need more than 1 minute to finish the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Discussion started by: 2j4h
7 Replies

8. Shell Programming and Scripting

Exit script when shutdown or reboot command is given

This is probably a simple question, but I'm new with writing scripts for Linux (IPFire in this case) and Google wasn't helpful with this. When creating a script, what is the best and/or proper way to have it exit automatically if the reboot or shutdown command is given? If that's even... (2 Replies)
Discussion started by: bartgrefte
2 Replies

9. UNIX for Dummies Questions & Answers

Top Command Output is not coming via Cronjob

Dear All, I created a small script to get the CPU, GIS usage etc automatically. However when i run this script manually its working , but when i run through cronjob i am not getting any output. Can anyone please help me on this. I am using SuseLinux. Thank you in advance. #!/bin/sh {... (2 Replies)
Discussion started by: Nitin Kapoor
2 Replies

10. Shell Programming and Scripting

Issue with shutdown command in script (MacOS High Sierra)

Hello, I have a backup script that runs an rsync backup to an external drive. I use the script frequently on Windows and Linux and have installed it on a Mac. The script has an option to run shutdown after the backup has completed. Since backup can take hours to run, this is an option that is... (10 Replies)
Discussion started by: LMHmedchem
10 Replies
Lynis(8)						Unix System Administrator's Manual						  Lynis(8)

NAME
Lynis - Run an system and security audit on the system SYNOPSIS
lynis --check-all(-c) [other options] DESCRIPTION
Lynis is an auditing tool for Unix (specialists). It checks the system and software configuration and logs all the found information into a log file for debugging purposes, and in a report file suitable to create fancy looking auditing reports. Lynis can be run as a cronjob, or from the command line. It needs to have full access to the system, so running it as root (or with sudo rights) is required. The following system areas may be checked: - Boot loader files - Configuration files - Common files by software packages - Directories and files related to logging and auditing OPTIONS
--auditor <full name> Define the name of the auditor/pen-tester. When a full name is used, add double quotes, like "Michael Boelen". --checkall (or -c) Lynis performs a full check of the system, printing out the results of each test to stdout. Additional information will be saved into a log file (default is /var/log/lynis.log). In case the outcome of a scan needs to be automated, use the report file. --check-update (or --info) Show program, database and update information --cronjob Perform automatic scan with cron safe options (no colors, no questions, no breaks). --no-colors Do not use colors for messages, warnings and sections. --no-log Redirect all logging information to /dev/null, prevent sensitive information to be written to disk. --quick (-Q) Do a quick scan (don't wait for user input) --quiet (-q) Try to run as silent as possible, showing only warnings. This option activates --quick as well. --reverse-colors Optimize screen output for light backgrounds. --tests TEST-IDs Only run the specific test(s). When using multiple tests, add quotes around the line. Multiple parameters are allowed, though some parameters can only be used together with others. When running Lynis without any param- eters, help will be shown and the program will exit. BUGS
There are no known bugs. Bugs can be reported directly to author. LICENSING
Lynis is licensed under the GPL v3 license and under development by Michael Boelen. CONTACT INFORMATION
Project related questions and comments should be asked via http://www.rootkit.nl/contact/. 1.08 15 December 2009 Lynis(8)
All times are GMT -4. The time now is 10:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy