We've got some CentOS/MySQL VMs that need regular maintenance activities. Cron is the obvious answer for scheduling, but there's a specific set of events and some significant looping/branching logic involved in the actual shutdown/check/backup/startup. The box admins don't want to touch this, so it's falling to the DBAs, who are not shell experts by any stretch.
We use several apps that have PHP scripts from cron, and have written/maintained similar scripts as well. Since we've got way more PHP talent in house than *sh, I am wondering if PHP-CLI would be a better choice for us, in terms of effective development and maintenance.
Are there any downsides/trade-offs that would make this a bad idea?