vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Is there a restriction to the number of commands you can string together or total number of characters in a cron entry. For example: 27 22 * * * (. /usr/local/inst/inst.cron -i 1 -q -f >> /home/exceed/instcron.out; /exe_cprd1/bin/IIPprprg01.4ge >> /home/exce ed/purge_prod.out 2&>1) One of my application developers insists upon using this. When I suggested we just put all of this in a shell script and call that from CRON (which works just fine). I just want to be able to give them an answer, any help would be great. Thanks |
| |||
| Recommendation... establish a policy that will help you manage the system most effectively. If you feel that everything should be called from a script instead of having snippets of code every where on your system... (i.e. in your cron entries), then so be it. This question is more a matter of system management than functionality. There is more than one way to skin a cat. But if you do it different every time, you'll never perfect your method. Albert "William Prendergast" <bprendy@hotmail.com> wrote in message news:bb9447b9.0311060832.3d59c12e@posting.google.c om... > Is there a restriction to the number of commands you can string > together or total number of characters in a cron entry. > > For example: > > 27 22 * * * (. /usr/local/inst/inst.cron -i 1 -q -f >> > /home/exceed/instcron.out; /exe_cprd1/bin/IIPprprg01.4ge >> /home/exce > ed/purge_prod.out 2&>1) > > One of my application developers insists upon using this. When I > suggested we just put all of this in a shell script and call that from > CRON (which works just fine). > > I just want to be able to give them an answer, any help would be > great. > > Thanks |
| ||||
| William Prendergast wrote: > Is there a restriction to the number of commands you can string > together or total number of characters in a cron entry. > > For example: > > 27 22 * * * (. /usr/local/inst/inst.cron -i 1 -q -f >> > /home/exceed/instcron.out; /exe_cprd1/bin/IIPprprg01.4ge >> /home/exce > ed/purge_prod.out 2&>1) > > One of my application developers insists upon using this. When I > suggested we just put all of this in a shell script and call that from > CRON (which works just fine). AFAIK 8k. But it could be less. I have had problems on an older AIX with lines more than 1k long. -- Thomas |