mirror of
https://github.com/fccview/cronmaster.git
synced 2025-12-24 06:28:26 -05:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fc8cb9edb | ||
|
|
4dfdf8fc53 | ||
|
|
8cfc000893 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ node_modules
|
||||
.DS_Store
|
||||
.cursorignore
|
||||
tsconfig.tsbuildinfo
|
||||
docker-compose.test.yml
|
||||
@@ -241,6 +241,9 @@ I would like to thank the following members for raising issues and help test/deb
|
||||
<td align="center" valign="top" width="20%">
|
||||
<a href="https://github.com/DVDAndroid"><img width="100" height="100" src="https://avatars.githubusercontent.com/u/6277172?u=78aa9b049a0c1a7ae5408d22219a8a91cfe45095&v=4&size=100"><br />DVDAndroid</a>
|
||||
</td>
|
||||
<td align="center" valign="top" width="20%">
|
||||
<a href="https://github.com/ActxLeToucan"><img width="100" height="100" src="https://avatars.githubusercontent.com/u/56509120?u=b0a684dfa1fcf8f3f41c2ead37f6441716d8bd62&v=4&size=100"><br />ActxLeToucan</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -53,7 +53,9 @@ export const pauseJobInLines = (lines: string[], targetJobIndex: number): string
|
||||
currentJobIndex++;
|
||||
} else {
|
||||
newCronEntries.push(line);
|
||||
i++;
|
||||
newCronEntries.push(lines[i + 1]);
|
||||
i += 2;
|
||||
currentJobIndex++;
|
||||
}
|
||||
} else {
|
||||
newCronEntries.push(line);
|
||||
@@ -295,8 +297,10 @@ export const deleteJobInLines = (lines: string[], targetJobIndex: number): strin
|
||||
) {
|
||||
if (currentJobIndex !== targetJobIndex) {
|
||||
newCronEntries.push(line);
|
||||
newCronEntries.push(lines[i + 1]);
|
||||
}
|
||||
i++;
|
||||
i += 2;
|
||||
currentJobIndex++;
|
||||
} else {
|
||||
newCronEntries.push(line);
|
||||
i++;
|
||||
@@ -385,8 +389,10 @@ export const updateJobInLines = (
|
||||
i += 2;
|
||||
} else {
|
||||
newCronEntries.push(line);
|
||||
i++;
|
||||
newCronEntries.push(lines[i + 1]);
|
||||
i += 2;
|
||||
}
|
||||
currentJobIndex++;
|
||||
} else {
|
||||
newCronEntries.push(line);
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user