working on scheduler and fix issue #17

This commit is contained in:
Rongsong Shen 2025-12-25 16:24:56 +08:00
parent 4034fd7556
commit a46ea822c1
10 changed files with 159 additions and 40 deletions

View file

@ -523,7 +523,7 @@ int make_job_sd_unit_name(char* buf, size_t bufsize, const char* prefix,
return -EINVAL;
}
fmt_jobid_ex(idstring, sizeof(idstring) - 1, jobid, '_', '_');
fmt_jobid_ex(idstring, sizeof(idstring) - 1, jobid, "A", "");
return snprintf(buf, bufsize, "%s-%s.service", prefix, idstring);
}