mirror of
https://github.com/fccview/cronmaster.git
synced 2025-12-30 01:18:44 -05:00
Compare commits
5 Commits
feature/mu
...
1.3.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fc8cb9edb | ||
|
|
4dfdf8fc53 | ||
|
|
8cfc000893 | ||
|
|
1dde8f839e | ||
|
|
2b7d591a95 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ node_modules
|
||||
.DS_Store
|
||||
.cursorignore
|
||||
tsconfig.tsbuildinfo
|
||||
docker-compose.test.yml
|
||||
@@ -49,7 +49,7 @@ If you find my projects helpful and want to fuel my late-night coding sessions w
|
||||
```bash
|
||||
services:
|
||||
cronjob-manager:
|
||||
image: ghcr.io/fccview/cronmaster:2.3.0
|
||||
image: ghcr.io/fccview/cronmaster:1.3.0
|
||||
container_name: cronmaster
|
||||
user: "root"
|
||||
ports:
|
||||
@@ -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