• English
  • Scheduled Cleanup of FinalTerm Auto-Backup Files

    Function

    If you have enabled the auto-backup feature for file editing, a backup file will be automatically generated in the file's directory on the server each time you edit a file. If you don't want to clean them up one by one, you can use this scheduled task to clean up backup files on the selected servers.

    Add New

    • Task name: Enter a custom task name
    • Execution time: Configured using a crontab expression.

    💡Tip: The execution time is based on the current computer's time, not the server's time.

    • Server selection: Select the servers to apply this to. By default, all configured servers are selected.
    • Log save directory: Select the directory address for this scheduled task's output logs. It defaults to the output directory configured in Settings.
    • Shell editor area: Edit the shell script code to be executed. For example, the code for this feature is: find / -name "*.yfbk" -delete
    • Description: Provides an introduction to the usage and precautions for this task. Please read carefully.
    • After configuration, click the save button in the top right corner to save.
    • Return to the task list and set the enable toggle to the on position.

    💡Tip: As you can see from the creation process, this is also a specific application of the scheduled task + shell script feature.

    Execution

    • The task is executed based on the current computer's time. It will start when the scheduled time arrives.
    • The current execution status and results are displayed in the list.

    💡Tip: Please do not perform any editing operations while the task is executing.

    Edit

    Click the edit button for a task to navigate to the task editing interface.

    Log

    • Displays the execution list for the current task.
    • Click the details button for each execution to view its details.
    • The details show the execution status for each machine.
    • Click view run log to display the execution log for that machine.

    Delete

    Delete the selected scheduled task.