Hi All,
The few tasks can be handled using the Command line by storing a particular task to “/usr/local/directadmin/data/task.queue“.
The saved tasks can be executed by
dataskq, which is invoked by cron every minute.
You can invoke the cron job manually by typing:
# /usr/local/directadmin/dataskqIn order to update Directmin
# echo "action=update&value=program" >> /usr/local/directadmin/data/task.queueTo reset bandwith :
# echo "action=reset&value=all" >> /usr/local/directadmin/data/task.queueHttpd configuration file rewiritng
# echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
To view all users Cache file
# /usr/local/directadmin/data/admin/show_all_users.cacheTo create a backup for all users
# echo action=backup&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&type=admin&value=multiple&when=now&where=local&who=all" >> /usr/local/directadmin/data/task.queueTo create a backup for one user
# echo "action=backup&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=username&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queueThanks