I'm stuck writing an installation profile.
There are certain things that I want to do only after the installation is completed.
I analyzed top ten installation profiles and checked the documentation, but I couldn't find it. I might be missing something small though.
Is there such hook? If not, how can I execute something at the end of the installation?
I know for
hook_install_tasks, and they are not exactly what am I looking for.
They both are called during the installation. I want to execute code after the installation has been completed.
For example, setup Backup & Migrate schedules. If I do this using
hook_install_tasks(), the cron run at the end of installation does not seem to work properly/in full, and I get errors when
backup_migrate tries to write to private directory. Private directory is set up properly and if I just re-run the cron afterwards, it works as it should.