adding quickscan

This commit is contained in:
jakani24
2024-04-27 00:50:48 +02:00
parent b68068cb5c
commit 19e264a302
30 changed files with 392 additions and 293 deletions

View File

@@ -73,10 +73,11 @@ void unlock_task(const std::string& task_name) {
}
int check_for_sched_tasks(const char* sched_name, const char* sched_path) {
FILE* fp = nullptr;
FILE* fp;
char command[505];
if (fopen_s(&fp, sched_path, "r") != 0) {
//delete[] command;
int a;
if ((a=fopen_s(&fp, sched_path, "r")) != 0) {
//printf("%d\n",a);
return 1;
}
else {