Register for your free account! | Forgot your password?

Go Back   elitepvpers > Off-Topics > Technical Support
You last visited: Today at 09:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Cronjobs erstellen frage

Discussion on Cronjobs erstellen frage within the Technical Support forum part of the Off-Topics category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2014
Posts: 46
Received Thanks: 8
Cronjobs erstellen frage

Also als erstes gebe ich bei putty ein crontab -e
was muss ich dann aber eingeben und vorallem wo das sich jede 2 min
die backend.php datei öffnet pfad ist /var/www/ also da ist die datei drin
schildkrieg5 is offline  
Old 10/03/2014, 18:54   #2
 
Der-Eddy's Avatar
 
elite*gold: 400
Join Date: Nov 2008
Posts: 67,905
Received Thanks: 19,505
Solltest du die crontab Datei noch nicht bearbeitet haben müsste doch eine Anleitung kommen?
Quote:
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
Sollte in etwa so aussehen:
Code:
*/2 * * * * php5 /var/www/backend.php
und ans Ende der crontab Datei einfügen

bitte vorher aber
Code:
php5 /var/www/backend.php
normal in die Konsole eingeben und schauen ob es funktioniert
evtl. muss der Befehl zum aufrufen von PHP noch angepasst werden
Der-Eddy is offline  
Reply


Similar Threads Similar Threads
[Release] Floral Homepage + Cronjobs
06/08/2014 - Flyff PServer Guides & Releases - 3 Replies
Bild: http://puu.sh/9koXa/49baf2a901.jpg ~ Kleinigkeiten hinzugefügt. Info: Ich werde dazu kein Statement abgeben! Download: Virustotal: Erlaubnis: Owner/Besitzer = Troublemaker
SapphireFlyff no Cronjobs
04/20/2014 - Flyff Private Server - 1 Replies
Hi elitepvpers, Is there someone that has the website SapphireFlyff without cronjobs laying arround on their HDD. Cause the links are dead. With kind regards,
Cronjobs/Crontab
08/30/2011 - General Coding - 4 Replies
Hai Leute, ich betreibe seit ca. 1/2 Jahr ein Forum, ich habe bis jetzt alle Backups, manuell erstellt, dazu nutze ich die Software MysqlDumper. Aber mir geht es langsam auf den zeiger, die Backups manuell zu erstellen. Das Woltlab Burning Board bietet die Funktion "Zeitgesteuerte Aufgaben" zu erstellen, sogenannte Cronjobs. Ich kenne mich damit noch nicht sogut aus, deswegen frage ich hier, ob vielleicht jemand so ein Script bereits hat, und es auch nutzt. mfg



All times are GMT +1. The time now is 09:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.