Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-01-01 08:56:49

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

How To Mass Embed Using Cronjob

Hello, i've been searching the forum, buy can't find a guide or explanation of how to mass embed videos using cronjob.

Can you please Adrian tell me step by step how to do it?

Thanks in advance.

Offline

#2 2013-01-02 09:55:56

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

Edit config/cron.php and make sure video_embed status is set to 1. Add cron/cron.php to your cron and execute it every 30 minutes or 1 hour (usually /usr/local/bin/php /where/aspro/is/installed/cron/cron.php). Please read this for cron: http://www.thegeekstuff.com/2011/07/cro … 5-minutes/


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-01-02 10:45:09

Jadmanx
Member
Registered: 2012-05-25
Posts: 128

Re: How To Mass Embed Using Cronjob

there a way to add videos in cornjob from upload_ftp ?

Offline

#4 2013-01-03 08:37:27

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

No method at this point, but i can implement it. You will be able to queue videos from upload_ftp and then the cron video queue will process them.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2013-01-09 14:30:56

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

When i run without cron is ok all but when run whit cron job the dont take the thumb an keep status grabbing , can you help me?

Offline

#6 2013-01-09 15:31:57

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

Its because your thumb folder is not writable by the user that runs the cron. You need to make sure all folders in /media/videos/tmb are 777.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2013-01-09 17:50:56

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

yes i have 777 in this folder but dont work

Last edited by mmpo (2013-01-09 17:51:07)

Offline

#8 2013-01-10 06:56:50

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

How do you run the script and it works? From the browser?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#9 2013-01-10 16:32:27

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

From the admin panel is ok but from the cron job no.

Offline

#10 2013-01-10 17:15:51

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

In this case it has something to do with permissions. I have FTP. I'll check now.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#11 2013-01-10 18:04:54

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

I changed all the folders in media/videos/tmb/000 to 0 777 now. Please try again. You should note that i cannot debug without ssh access (some parts of the script, including the cron are run from the console).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#12 2013-01-10 23:34:38

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

Nothing the same error

Offline

#13 2013-01-10 23:40:09

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

Some folder have permiss 755 and when i try to chage say "550 Could not change perms on 078: Operation not permitted"
Too some folder from filezilla show that : http://img90.xooimage.com/files/f/d/4/c … b08f2a.jpg

That the owner is 99 dont can change the permiss

Offline

#14 2013-01-11 06:31:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

Well most important is media/videos/tmb/000 and media/videos/tmb/000/LAST-FOLDER-CREATED-HERE


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#15 2013-01-11 16:00:55

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

symtab wrote:

Well most important is media/videos/tmb/000 and media/videos/tmb/000/LAST-FOLDER-CREATED-HERE

LAST-FOLDER-CREATED-HERE is that i am talking about in the pic dont cam change the permiss . Check yourself

Offline

#16 2013-01-11 21:18:33

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

I dont understand. Please explain. In the picture you highlight folders that you cant change the permissions. Right?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#17 2013-01-12 17:01:16

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

if you check the pircture you see some folder with permiss 755 , this folder y try to change to 777 and i cant.

Offline

#18 2013-01-14 08:32:07

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

Contact your hosting company and ask them to change the permissions to 777 for you. Only the last folder is important (when adding thumbs) and all are required for video delete.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#19 2013-03-09 19:18:13

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

how i can desactive yobt site on the script ?

Offline

#20 2013-03-09 21:44:29

German-Porn-Tube
Member
From: Spain but german speaking ;-)
Registered: 2012-02-13
Posts: 34
Website

Re: How To Mass Embed Using Cronjob

in /media/videos/tmb
File: "tmp.jpg" must be 777 to ;-)

That was my error ;-)

this file will be take as a "generation" File temporary i think


German-Porn-Tube.net bbcode test
http://www.tubeuploadtool.german-porn-tube.net <- 1000´s Videos upload per Day + Rewrite Titel and Description in many Languages

Offline

#21 2015-04-14 17:23:52

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Mass Embed Using Cronjob

The adv search left dont work

Offline

#22 2015-04-14 19:30:36

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How To Mass Embed Using Cronjob

This on the new version?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB