A method according to an embodiment of the present disclosure may comprise the steps of: on the basis of an input from a user, executing a first main task of a main task set corresponding to the input, inserting, into the main task set, a first tracking task for tracking the execution of the first main task, and inserting a first sub-task for recording the completion of tracking of the first main task into a sub-task set that is executed when all of executions of one or more main tasks included in the main task set have been completed; executing a second main task included in the main task set and called by the first main task, inserting, into the main task set, a second tracking task for tracking the execution of the second main task, and inserting, into the sub-task set, a second sub-task for recording the completion of tracking of the second main task; and determining the order of the executions of the one or more main tasks included in the main task set, on the basis of the completion of executions of one or more sub-tasks included in the sub-task set.