I have 5 web applications. The directory structure is similar to following:
/var
`- /www
`- /domains
`- /domain1
`- /public_html
`- /crontabs
`- /crons
`- /domain2
`- /public_html
`- /crontabs
`- /crons
`- /domain3
`- /public_html
`- /crontabs
`- /crons
.
.
.
.
.
Each application has its own list of crons [and these files contain valid, crontab -e like, syntax]. At the moment as this is a test and isolated server so all applications run under the same user. I know about crons, /etc/cron.d, /etc/cron.interval (interval = hourly|daily|weekly), /var/spool/crontabs/.
My question: is there an alternate to /etc/cron.d but user specific where i could just symlink these crons and they would be executed? I would prefer such a solution because these crons get updated at times from developers.
On #ubuntu ikonia suggested to google on how could one include crons, i did and couldn't find such a solution. If there could be place where i could do:
include /var/www/domains/*/public_html/crontabs/crons
that would be totally awesome.
[EDIT] I am open to changing the crons files a little.