Alternative to @reboot on droplet creation
I want to create a droplet via API, run some tasks, then destroy it.
I was intending to run the tasks via a @reboot in crontab but this isn't working, presumably because it isn't technically a reboot (it does work if I reboot it immediately after creating it).
What alternative should I use? I need to run a .sh bash file I created.