1>
One approach is to add an @reboot cron task:
Running crontab -e will allow you to edit your cron.
Adding a line like this to it:
@reboot /path/to/script
will execute that script once your computer boots up.
2>
How about adding the command to /etc/rc.local? you'll have to use sudo access though to edit this file.
sudo nano /etc/rc.local
Không có nhận xét nào:
Đăng nhận xét