When enabling the new Cronjob Feature how do you actually use it, what command is needed to run the cronjob Do you just type the path to the file needed to be executed or du you need more in the command field
http://www.howtoforge.com/forums/showpost.php?p=135004&postcount=10 If the file is a binary or executable script, then it is enough to enter it with a full path in the field. The field works just like the normal cron job on the commadline.
1. Activate cron job in the site configuration tab 2. Choose user from Email and User tab and activate cron job in dhe user settings 3. Save user settings and choose same user again. You now have a new cron job tab. 4. add cron job command like you would have done it in command line
If you didn't come along a problem, that needed crons, you certainly don't need them, I suppose With that new feature one can allow customers to create their own little cron-jobs running under their user. Greets
Cron command line When typing the path to the file in the command line, bear in mind that it is the path on the server that is needed. Code: php /var/www/web11/web/crontest.php That is an example of mine, the crontest.php would be place in the root of your website in this circumstance. Code: &> /dev/null the above code at the command line will stop any emails being sent to you after the cron has been executed, more is on the thread http://www.howtoforge.com/forums/showthread.php?t=25291 Cron jobs execute a file at the time interval that you set, so if you need to send a reminder that a subscription is ending, create the relevant php file and execute it via cron rather than manually running it.
I am new with these cronjobs also if I understand it correctly i have to put the php in front off the command? mine would than look similar to: Code: php /var/www/web8/web/administrator/components/com_eyesite/scanner.eyesite.php And I would like it to run every night at 04.95 Hour so I made these settings: Code: Please see attachment Any thoughts would be helpfull..
That's correct. It would even be better to use the full path to php, e.g. /usr/bin/php. That's correct.
Thanks I have made it: Code: /usr/bin/php /var/www/web8/web/administrator/components/com_eyesite/scanner.eyesite.php I guess the dot at the end of usr/bin/php was to end the sentence.