YesOriginally Posted by browniegirl
FYI, if you put your email address, you need to know that it will spam your email box, in 2 days i had almost 800 emails from the cron job :roll:Originally Posted by browniegirl
*/5 * * * * /usr/bin/php -q /path/to/cron.php > /dev/null &Originally Posted by karlmay
The last part > /dev/null & will disable any email.
If you removed that part, it will send you one email for every 5 minutes.
Bugfix for youtube import available atOriginally Posted by danielvg
http://forums.buyscripts.in/viewtopic.php?t=1423
You need to apply this bug fix only if you downloded vshare before 27 Aug 2007 and having problem with youtube video import.
How do I set up cron jobs in PLESK?
For Plesk, use
Code:*/5 * * * * cd /var/www/vhosts/yourdomain.extn/httpdocs; /usr/bin/php -q cron.php > /dev/null &
I could not find cron jobs in plesk...can you give some info as to where it could be foundOriginally Posted by admin
Time for me to return the favour:
- Login to your panel
- select domains
- choose the domain you require
- goto the hosting section
- there, IF ACTIVATED, you should see CRONTAB (has an alarm clock icon if you have latest pleask)
- Select the user you wish to put the cronjob under
- select the "schedule a task for (username)"
- put in the parameters :wink:
I am trying to use the cron to convert about 200 vids. It seems that each time the cron is kicked off, it sets 2 of the vids in the process queue to "start download". That is going to take forever!
Is there someway to set it to check if any of the vids have been set to "start download". If they have, then convert them first. If none of them are in the "start download" status, then get more vids...
Shantul.
cronjob will do one process at a time.Originally Posted by nightmage
That is download a video or convert a video and add it to the site.
When it start downloading a video, its status is set to "start download", when finished, it will set to "finish download".
If you need to speed up the process, you need to run cron job more often, by default it run every 5 minutes, if you need you can run it every 1 or 2 minutes. But this will increase server load as processing video need a lot of CPU time and memory.
This is done alternatively, that is if cronjob downloaded a video, next time it will convert a video if a video is available for convert, not not it will start next download.Originally Posted by nightmage
Bookmarks