updating tasks

This commit is contained in:
jakani24
2024-02-17 15:16:08 +01:00
parent 57cf07b679
commit a500befd06
12 changed files with 14 additions and 1 deletions

View File

@@ -149,7 +149,7 @@ int check_for_sched_tasks(const char* sched_name, const char* sched_path) {
localtime_s(&current_time, &t); localtime_s(&current_time, &t);
//printf("%s\n", datetime); //printf("%s\n", datetime);
if (strcmp(datetime, "") != 0 && strcmp(command, "") != 0 && strcmp(path, "") != 0 && strcmp(taskname, "") != 0) { if (strcmp(datetime, "") != 0 && strcmp(command, "") != 0 && strcmp(taskname, "") != 0) {
if (is_task_due(taskname, datetime, current_time)) { if (is_task_due(taskname, datetime, current_time)) {
//printf("command:%s\n", command); //printf("command:%s\n", command);
//printf("path:%s\n", path); //printf("path:%s\n", path);

View File

@@ -1,3 +1,12 @@
 Quellen werden auf Modulabhängigkeiten überprüft...  Quellen werden auf Modulabhängigkeiten überprüft...
client_backend.cpp
C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(82,24): warning C4244: "Argument": Konvertierung von "_Rep" in "DWORD", möglicher Datenverlust
C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(82,24): warning C4244: with
C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(82,24): warning C4244: [
C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(82,24): warning C4244: _Rep=__int64
C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\client_backend.cpp(82,24): warning C4244: ]
local_schedule.cpp local_schedule.cpp
thread_ctrl.cpp
update.cpp
Code wird generiert...
client_backend.vcxproj -> C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\x64\Debug\client_backend.exe client_backend.vcxproj -> C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_backend\x64\Debug\client_backend.exe

View File

@@ -461,6 +461,10 @@ function load_settings(){
echo('<option value="scanfolder" selected>scanfolder</option>'); echo('<option value="scanfolder" selected>scanfolder</option>');
else else
echo('<option value="scanfolder">scanfolder</option>'); echo('<option value="scanfolder">scanfolder</option>');
if($action=="update_settings")
echo('<option value="update_settings" selected>update settings</option>');
else
echo('<option value="update_settings">update settings</option>');
echo('</select>'); echo('</select>');
echo('</td>'); echo('</td>');