Ich muss ein Script Sekunden genau starten.
Per Cron sind doch nur Minutengenaue Starts/Aufrufe möglich.
Ein Script welches da einfach eine Schleife macht bis es endlich die Zeit ist, die ich brauche ist etwas unperformant, oder?
Wie wie könnte ich das sonst erledigen?
Gruß
Dominik
Cronjob Sekundengenau starten?
-
- Administrator
- Posts: 2643
- Joined: 2004-01-21 17:44
Re: Cronjob Sekundengenau starten?
Code: Select all
man at
-
- Project Manager
- Posts: 11190
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Cronjob Sekundengenau starten?
und `man netdate` nicht vergessen:
Code: Select all
cat > /etc/cron.hourly/ntpdate << "EOF"
#!/bin/sh
/usr/sbin/ntpdate -b -s -p 4 -t 0.1 ptbtime1.ptb.de
exit 0
EOF
chmod 0755 /etc/cron.hourly/ntpdate
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.