File indexing completed on 2024-05-05 05:48:31
0001 /* 0002 CT Cron Header 0003 -------------------------------------------------------------------- 0004 SPDX-FileCopyrightText: 1999 Gary Meyer <gary@meyer.net> 0005 -------------------------------------------------------------------- 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include <QString> 0012 0013 #include "ctcron.h" 0014 0015 class CTSystemCron : public CTCron 0016 { 0017 public: 0018 /** 0019 * Constructs the scheduled tasks, environment variables from crontab 0020 * files and obtains some information about the user from the system. 0021 * 0022 * Default is to construct from the user's crontab. Can also be called, 0023 * passing TRUE, to construct from the system crontab. Throws an 0024 * exception if the crontab file can not be found, read, or parsed. 0025 */ 0026 explicit CTSystemCron(const QString &cronBinary); 0027 0028 /** 0029 * Destructor. 0030 */ 0031 ~CTSystemCron() override; 0032 }; 0033