Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. pcntl_signal(SIGCHLD, SIG_IGN);
  2.  
  3. while(true) {
  4. if (!pcntl_fork()) {
  5.  
  6. echo PHP_EOL."Start Date : ".date("Y-m-d H:i:s");
  7. foreach(explode("\n", str_replace("\r", "", @file_get_contents($fileakun))) as $c => $akon)
  8. {
  9. $pecah = explode("|", trim($akon));
  10. $email = trim($pecah[0]);
  11. $password = trim($pecah[1]);
  12. echo PHP_EOL.PHP_EOL."Ekse Akun : ".$email.PHP_EOL;
  13.  
  14. $marlboro->execute_login($email, $password);
  15. if($bonus == "y" or $bonus == "Y")
  16. {
  17. $marlboro->bonusPoints();
  18. }
  19. $marlboro->execute_nonton($email);
  20. }
  21.  
  22. // Child process has finished its job.
  23. exit;
  24. }
  25.  
  26. echo PHP_EOL.PHP_EOL."Sleep Time : ".date("Y-m-d H:i:s");
  27. print PHP_EOL."All Done Run!, Sleep 24 Hours";
  28. print PHP_EOL."Start Besok : ".date('Y-m-d H:i:s', time() + (60 * 60 * 24));
  29. sleep(86400);
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement