Hello
I need a php script that create database and cronjob on cpanel.
I will provide a list of domains and the necessary data to create the database and the cronjob.
The script will work in a cpanel hosting with mysql database.
For database I will have a text with a list of domains and infos for database creation
[login to view URL],username,password,dbname,username,password
[login to view URL],username,password,dbname,username,password
...
The script will create the database, the user and will assign user to db with all privileges.
For cronjobs I will have domain infos plus the five time values and command value separated by commas, for example:
[login to view URL],username,password,12,*,*,*,*,/usr/bin/php /home/username/public_html/command/[login to view URL]
[login to view URL],username,password,12,*,*,*,*,/usr/bin/php /home/username/public_html/command/[login to view URL]
...
The script will create the cronjob for every domain.
Thank you