# timer **Repository Path**: caojun97/timer ## Basic Information - **Project Name**: timer - **Description**: 通过外部信号(SIGINT、SIGUSR1、SIGUSR2)开始/停止定时任务,以及结束程序。 - **Primary Language**: C - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-21 - **Last Updated**: 2024-07-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 该程序通过实现:用户使用外部信号控制定时任务的开始和停止,以及是否退出程序。 不同信号的作用: - SIGINT: 退出程序 - SIGUSR1:开始任务 - SIGUSR2:停止任务