Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cronJob

Empfohlene Antworten

hallo leute

weiss Jemand wie man Cron Job macht.wenn Ja ich möchte jeden Tag /var/spool/samba 15H00 löschen.Wie geth dass ich habe Suse 8.0.

ich denke

15 * * * * rm -f /var/spool/samba

ist dass wahr

Original geschrieben von dodjivi

hallo leute

weiss Jemand wie man Cron Job macht.wenn Ja ich möchte jeden Tag /var/spool/samba 15H00 löschen.Wie geth dass ich habe Suse 8.0.

ich denke

15 * * * * rm -f /var/spool/samba

ist dass wahr

Hi.

Nein so würdest du es jede Stunde in der 15 Minute ausführen.

 

* 15 * * *  /usr/bin/rm -f /var/spool/samba >/dev/null 2>&1

Try it :)

Du musst evtl. den rm pfad nochmal anpassen kommt darauf an wo der bei dir liegt

Vllt. noch zur Erklärung der Felder

minute 0-59

hour 0-23

day of month 0-31

month 0-12 (or names)

day of week 0-7 (0 or 7 is Sun, or use names)

danke

ich probiere es

Original geschrieben von jsk

Nein so würdest du es jede Stunde in der 15 Minute ausführen.

 

* 15 * * *  /usr/bin/rm -f /var/spool/samba >/dev/null 2>&1

Try it :) Du musst evtl. den rm pfad nochmal anpassen kommt darauf an wo der bei dir liegt
Auch nicht ganz... ;) So wird das von 15:00 bis 15:59 jede Minute ausgeführt.
 

0 15 * * *  /usr/bin/rm -f /var/spool/samba >/dev/null 2>&1

So passt es. Täglich um 15:00

danke ich probiere es

das kann man so auch nicht sagen. /bin ist bei vielen oder sogar allen ?? Distris ein link auf /usr/bin

Gruß Sumpfbiber

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.