I am making a program for the Raspberry Pi to use, as part of its installation, it need to add a task to crontab so that it will run on bootup.
I know if I type in crontab -e then add the line "@reboot file/to/program" to the bottom it will do it.
But how do I do it with just a command in the terminal for my installation script to use?