Is there any way to create a cronjob in an automated way (script)?
The only way i know how to create a cronjob is through contab -e which creates a temporary conf file that is, once modified and exited, merged with the actual conf file in /var/spool/cron/crontabs (this file can't be modified directly).
In particular what i'm trying to do is package a script that needs to be run every minute. When the user installs the package, the cronjob needs to be added and there in lies my problem.
So: I need a script to create a script that runs my script, not that confusing right? :P