centos script

104 views
asked Apr 7, 2014 in General by DinoGuy (2,130 points)
Hi

I  have a Centos system which I created cornjob script for backing up my folders . I have a question about my centos script. If I want the script to be activated and duplicate for every corn job, is there anything I need to add in?
Thanks

1 Answer

0 like 0 dislike
answered Apr 7, 2014 by expert (14,380 points)
If you don’t have a loop, your script will normally exit by itself with the code 0 exit. However it is good practice to include a close to a script.
...