Zurück   Flashforum > Flash und Server > Server-Seite allgemein

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 30-05-2007, 11:59   #1 (permalink)
Haaajmo Bosno!!!
 
Benutzerbild von mirzahat
 
Registriert seit: Aug 2001
Ort: Bihać
Beiträge: 692
Wie macht man aus einer PHP skripte ein CronJob?

Hallo,
ich habe in root Verzeichnis meiner Website eine PHP Datei die ich als Cron Job laufen lassen will.
Jetzt steht da in meinem ControlPanel:

Command to run: (max 1000 characters)
Use full paths to files and programs.

So was muss ich jetzt hier angeben? Einfach "cronJob.php" reicht dich nicht, oder?

Gruss,
Mirza
mirzahat ist offline   Mit Zitat antworten
Alt 30-05-2007, 12:19   #2 (permalink)
pixel prostitute
 
Benutzerbild von bishop
 
Registriert seit: Mar 2004
Ort: berlin
Beiträge: 8.426
Zitat:
Usage: php [options] [-f] <file> [--] [args...]
php [options] -r <code> [--] [args...]
php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
php [options] -- [args...]
php [options] -a

-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-B <begin_code> Run PHP <begin_code> before processing input lines
-R <code> Run PHP <code> for every input line
-F <file> Parse and execute <file> for every input line
-E <end_code> Run PHP <end_code> after processing all input lines
-H Hide any passed arguments from external tools.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.

args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin

--rf <name> Show information about function <name>.
--rc <name> Show information about class <name>.
--re <name> Show information about extension <name>.

Ergo müsste es wie folgt aussehen:

php -f deinfile.php

Habe ich aber bisher nur einmal in meinem Leben gemacht und das ist Jahre her, daher Angaben ohne Gewähr.
__________________
:: Bilder hochladen, Lizenzfreie Bilder günstig kaufen, Webdesign, Passwort Generator ::
currently listen: reaper - totengräber 07 // nachtmahr - nachtmahr // grendel - hate this // nurzery rhymes - coroner // panic lift - everything i have
bishop ist offline   Mit Zitat antworten
Alt 30-05-2007, 12:36   #3 (permalink)
Inventar
 
Benutzerbild von Nightflyer
 
Registriert seit: Jul 2002
Beiträge: 6.882
Oder aber einfach auf www.cronjob.de einen Account anmelden und dort ganz einfach die Dateien eingeben. Ist zuverlässig der Dienst.
__________________
(\__/)
(='.'=)
(")_(")
Nightflyer ist offline   Mit Zitat antworten
Alt 08-06-2007, 13:16   #4 (permalink)
Neuer User
 
Registriert seit: Aug 2001
Ort: ändert sich eh dauernd
Beiträge: 225
der lerneffekt aber tendenziell auf 0 geschrumpft.
__________________
flash itself is just a toy to use it as a tool, know how to force it...
don't argue with fools, first they pull u down to their level, then they beat u with experience.
Gargoyle ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 12:51 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele