when I modify crontab file in the /var/opt/spool/cron/crontabs (file root), it is necessary to restart the server make operating the modifications.
It is possible avoid the restart?
Thanks
An edit of the crontab wouldn't normally require a reboot as far as I know. This therefore appears to be an issue with how you're modifying the crontab.
Can you describe exactly how you are modifying the crotab please?
You can redirect your active crontab by:
#cd /tmp
#crontab -l > cronfile
Now you can edit (vi) cronfile, make your modifications and then activate it by:
#crontab cronfile
The above replies are the "correct" way to accomplish what you want, but if you've already modified the crontab entry with "vi" and want to affect the change without rebooting, you just need to kill the existing "cron" background process and restart. The kill cannot include a "-9" modifier (nor do you need one).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.