Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
gen:automated_admin_tasks [2025/04/16 07:03] – kirtisingh | gen:automated_admin_tasks [2025/04/17 05:50] (current) – kirtisingh |
---|
**//current_tasks//** - This is a system created folder to manage the task state. When a task is to be executed, the system places it in this folder. When the execution is done, the task is then moved to either **//handled_tasks//** or **//discarded_tasks//** depending upon whether its execution was successful or not | **//current_tasks//** - This is a system created folder to manage the task state. When a task is to be executed, the system places it in this folder. When the execution is done, the task is then moved to either **//handled_tasks//** or **//discarded_tasks//** depending upon whether its execution was successful or not |
| |
| **//handled_tasks//** - Tasks which are successful, are placed under this folder |
| |
| **//discarded_tasks//** - Tasks which are un-successful, are placed under this folder. It also contains a log file w.r.t. task where its name begins using the same name of the original task file but with also date/time references. |
| |
| ---------------- |
| |
| To summarise everthing |
| |
| As a developer, you would need be doing the following\\ |
| - Enable Admin tasks\\ |
| - Ensure folder **/home///user///admin_tasks** is present\\ |
| - If you are placing tasks via a VHost's PHP script etc., you would need to expose the the above folder to the VHost from within N99panel options like [[:gen:accessing-parent-folders|Update Other Dirs]] under VHost details or 'Expose Dirs' from under Users\\ |
| - Track the tasks using your own scripts |
| |