This commit is contained in:
xyj 2024-03-04 09:54:26 +08:00
parent 53c3e4ab33
commit 81a29c2856
2 changed files with 11 additions and 6 deletions

View File

@ -6,6 +6,7 @@
<component name="ChangeListManager">
<list default="true" id="6fcbdb26-1795-4695-b353-57b405f1e401" name="Changes" comment="update">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cron_set.sh" beforeDir="false" afterPath="$PROJECT_DIR$/cron_set.sh" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -314,7 +315,15 @@
<option name="project" value="LOCAL" />
<updated>1709370764575</updated>
</task>
<option name="localTasksCounter" value="17" />
<task id="LOCAL-00017" summary="update">
<option name="closed" value="true" />
<created>1709517231451</created>
<option name="number" value="00017" />
<option name="presentableId" value="LOCAL-00017" />
<option name="project" value="LOCAL" />
<updated>1709517231451</updated>
</task>
<option name="localTasksCounter" value="18" />
<servers />
</component>
<component name="UnknownFeatures">

View File

@ -1,6 +1,2 @@
#!/bin/bash
set -e
sudo crontab <<-EOF
0 */1 * * * systemctl restart supervisor
0 0 * * * /sbin/reboot
EOF
sudo crontab -r