Sponsored Content
Full Discussion: power off during weekend
Operating Systems Linux power off during weekend Post 302419917 by Celtic_Monkey on Monday 10th of May 2010 05:15:54 AM
Old 05-10-2010
crontab the job.

shutdown -y -g0 -i5 should power off completely.
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Weekend Data Log

I've been searching here, and other places for a solid script that would generate a weekend log. Mainly how would I combine 24hr data for the weekend days? I've came across scripts for day, days, month, but none that selects just the weekend. Thanks for any help! (0 Replies)
Discussion started by: ravzter
0 Replies

2. What is on Your Mind?

what are you doing this weekend?

does someone have any plans? (7 Replies)
Discussion started by: yarx
7 Replies
ATRUN(8)						    BSD System Manager's Manual 						  ATRUN(8)

NAME
atrun -- run jobs queued for later execution SYNOPSIS
atrun [-l load_avg] [-d] DESCRIPTION
Atrun runs jobs queued by at(1). Root's crontab(5) file /etc/crontab has to contain the line */5 * * * * root /usr/libexec/atrun so that atrun gets invoked every five minutes. At every invocation, atrun will start all the jobs in the lowercase queues whose start time has elapsed. In addition, if the load average over the last minute was less than the specified limit then a maximum of one batch job (denoted by the uppercase queues) is started. Before starting a job, atrun will check the status of its owner's account with pam(3) and refuse to run the job if the account is unavail- able, e.g., locked out or expired. OPTIONS
-l load_avg Specify a limiting load factor, over which batch jobs should not be run, instead of the default of 1.5 * number of active CPUs. -d Debug; print error messages to standard error instead of using syslog(3). WARNINGS
For atrun to work, you have to start up a cron(8) daemon. FILES
/etc/pam.d/atrun pam.conf(5) configuration file for atrun /var/at/jobs Directory containing job files /var/at/spool Directory containing output spool files SEE ALSO
at(1), crontab(1), pam(3), syslog(3), crontab(5), pam.conf(5), cron(8) BUGS
The functionality of atrun should be merged into cron(8). BSD
October 30, 2012 BSD
All times are GMT -4. The time now is 09:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy