How to run a script at background and How to monitor and how to shedule a job using crontab easily ?
By giving" &" at end of script called running background (OR) Set in task scheduler or crontjob . Using at command you can schedule a job to run at a particular date and time. For example, to execute the backup script at 5 a.m tomorrow, do the following. $ at -f backup.sh 5 am tomorrow you can run the shell script Following methods at backgroundly : . script.sh & ./script.sh & sh script.sh & (OR) nohub sh script.sh & nohub ./script.sh & nohub . s cript.sh & Note: hup is a hangup signal... nohup - no hangup... so if we give nohup script.sh & ... it starts progressing script.sh in back ground... that the subsequent logout or session disconnection does not stop.. Note: & Stands for running background After running this give "ctrl+z" in background one id will be displayed a...