cron - how to give priority to a task running in cron.daily?
I have two custom tasks running daily. How do you give priority to one over the other?
One of them is configured via the logrotate.conf. The other sits directly in cron.daily.
The logrotate script checks for a certain file and:
create **** root utmp
file > /var/log/fileToWriteTo
chmod *** /var/log/fileToWriteTo
I'd like the one in cron.daily to run after the script that is in logrotate.
Please can you advise how to do this...
Many thanks in advance!