The simplest solution I think it's to create a cronjob using the @reboot. You can see an example here:
@reboot