Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a cron time of one week and 15 days?
#1
Exclamation 
Hello
I wanted to create a cron time of "one week" and "15 days" in cron.php
Thanks for your help
Reply
#2
Hello graphic,

Here are the steps:
  • Go to: system/cron/times
  • Create a new file called, week_cron.php, chmod the file 0777, go to http://www.unixtimestamp.com/ create time stamp from now into a week.
  • Enter into week_cron.php:
    PHP Code:
    Hidden content for guests 
    , save it.
  • Go to: /system/cron and OPEN: cron.php
  • Before
    PHP Code:
    Hidden content for guests 
    add the following:
    PHP Code:
    Hidden content for guests 
    , Save the file.



I think you can start from here.

Have a nice day.
GET 50% TO ALL PES PRO MODULES
↶ ↶ ↶ CHECK ↷ ↷ ↷
Hidden content for guests
Reply
#3
Exclamation 
I don't say in which mode i have to compile for 7 days and for 15 days the fields on the website unixtimestamp... if i insert only the number 7 into the field DD give me an error on the month... Sad

(06-23-2016, 04:59 PM)Breaker Wrote: Hidden content for guests
Reply
#4
As i can see you dont know very well the PHP language.

Add this code:
PHP Code:
Hidden content for guests 

This will generate your timestamp that you need.
GET 50% TO ALL PES PRO MODULES
↶ ↶ ↶ CHECK ↷ ↷ ↷
Hidden content for guests
Reply
#5
Star 
Help me...
I want make inactive all pages of the users after 7 days of inactivity of the users. I have tried but i'm not expert of php... Sad
Can you explain me which code i have to insert and in what files?

(06-26-2016, 01:18 AM)Breaker Wrote: Hidden content for guests
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Integrate Captcha after surf time kmjut 0 1,406 09-26-2018, 10:28 PM
Last Post: kmjut
  How to create a cron time of one month? djedi 2 2,243 04-01-2016, 03:16 AM
Last Post: kasabezwysilku
  Cron Scripts Preston 3 2,432 04-02-2013, 11:09 PM
Last Post: SocialSkive

Forum Jump:


Users browsing this thread: 1 Guest(s)

About MN Shop

MafiaNet Shop is an online store where you can buy powerful scripts, cool templates, graphic components and many other digital goods.

              Quick Links

              User Links

              Advertise