We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 941a128 commit cc44de9Copy full SHA for cc44de9
1 file changed
scripts/aws/entrypoint.sh
@@ -51,7 +51,7 @@ sync_enclave_time_with_offset_once || true
51
install_time_sync_cron() {
52
mkdir -p /etc/cron.d
53
cat > /etc/cron.d/uid-time-sync <<EOF
54
-*/5 * * * * root current_time=\$(curl -sSf -x "${TIME_SYNC_PROXY}" "${TIME_SYNC_URL}") && date -u -s "\${current_time}" && echo "Time sync: updated enclave time to \${current_time}" >>/proc/1/fd/1 2>>/proc/1/fd/2
+*/5 * * * * root current_time=\$(curl -sSf -x "${TIME_SYNC_PROXY}" "${TIME_SYNC_URL}") && date -u -s "\${current_time}" && echo "Time sync: updated enclave time to \${current_time}" >>/home/start.txt 2>&1
55
EOF
56
chmod 0644 /etc/cron.d/uid-time-sync
57
cron
0 commit comments