at jobs

Thread Tools Search this Thread
Operating Systems Solaris at jobs
# 1  
Old 01-13-2009
at jobs

how to schedule a reboot using the at jobs ?
# 2  
Old 01-13-2009
Which part are you stuck with? Do you not know how to create an at job? Or do you not know what command to use to reboot?
# 3  
Old 01-14-2009
suppose you'd like to run a find command at five o'clock tomorrow morning:

$ at 0500
at> cd /;sync;sync;init 6
at> ^D (press Control-D while at the beginning of a line)

When you're at the "at" prompt, just type the command you want to run. Try a few tests with the at command until you become comfortable with the way
it works.
# 4  
Old 01-18-2009
# echo "shutdown -r now" | at reboot_time
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to run multiple jobs and it's dependent jobs

I have multiple jobs and each job dependent on other job. Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE. I need an help how to start. Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies

2. Shell Programming and Scripting

waiting on jobs in bash, allowing limited parallel jobs at one time, and then for all to finish

Hello, I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies

3. Solaris

Cron jobs and at jobs

There are two jobs in Solaris , Cron and at jobs.. I know how to disable or enable cron jobs. How can I enable at jobs and disable it. Kindly help. Rj (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Shell Programming and Scripting

Help with cron jobs

Hi Frenz, How do we get a cron job running in background to foreground ? (3 Replies)
Discussion started by: mkalase
3 Replies

5. SCO

Create at jobs

Dear Experts, I would like to know how to create at jobs from scratch, i.e. files to modify, files to create etc. For example, i would like my system to be able to backup data everyday at 13:00 and restart everyday at 0600. How do i make atjobs regenerate the jobs. Am using Sco Openserver... (1 Reply)
Discussion started by: njoroge
1 Replies

6. Shell Programming and Scripting

at jobs.

Please suggest how can i modify or change the at jobs ? (4 Replies)
Discussion started by: anupdas
4 Replies

7. UNIX for Advanced & Expert Users

cron jobs...

I need to start a job every friday night at 8:00 P.M , it runs all the day on Sat and Sun....can somebody tell me how to do this...I understand crontab...but haven't used it.........can u write some to create a file and call.....I honestly dont know? Plz help.Thanks (2 Replies)
Discussion started by: RubinPat
2 Replies

8. Shell Programming and Scripting

background jobs exit status and limit the number of jobs to run

i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help. $cat run_job.ksh #!/usr/bin/ksh #################################### typeset -u SCHEMA_NAME=$1 ... (1 Reply)
Discussion started by: GrepMe
1 Replies

9. UNIX for Advanced & Expert Users


I am running this script below as a cron job for user root. In fact I set this job early last week and expected it to delete archive logs older than 7 days, but doesn't work - just displays the echo messages and no error. Can somebody advise me the probable causes ?? DAY_AFTER=7; export... (1 Reply)
Discussion started by: vbaskar
1 Replies
Login or Register to Ask a Question

Featured Tech Videos