This commit is contained in:
xyj 2024-02-27 09:49:08 +08:00
parent aed7528904
commit 34118be7fd
2 changed files with 16 additions and 7 deletions

View File

@ -4,13 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="6fcbdb26-1795-4695-b353-57b405f1e401" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/cron_update.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" />
<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_update.sh" beforeDir="false" afterPath="$PROJECT_DIR$/cron_update.sh" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -190,9 +186,22 @@
<option name="presentableId" value="Default" />
<updated>1702028845497</updated>
</task>
<task id="LOCAL-00001" summary="update">
<option name="closed" value="true" />
<created>1708998396073</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1708998396073</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="UnknownFeatures">
<option featureType="com.intellij.fileTypeFactory" implementationName="*.conf" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="update" />
<option name="LAST_COMMIT_MESSAGE" value="update" />
</component>
</project>

View File

@ -2,7 +2,7 @@
set -e
sudo crontab -r
sudo crontab -l > cron.cron
echo "0 * * * * systemctl restart supervisor" >> cron.cron
echo "0 */1 * * * sudo systemctl restart supervisor" >> cron.cron
sudo crontab cron.cron
sudo systemctl restart cron.service
sudo rm -rf cron.cron