Even though the question was posted a while ago, I just had the same problem but found a solution (based on Kissaki’s answer, thanks!) and thought I’d post it here for anyone still looking for a possible solution.
Prerequisites:
- SSH access
- Python
Code (python):
from subprocess import call import time while True: call(["php","cron.php"]) time.sleep(120)
Related Posts:
- How to create cron job using PHP?
- What is a slug?
- PHP “or” Syntax
- What are namespaces?
- Get the full URL in PHP
- S_SESSION variable (user role) not recognised
- Is SAJAX dead? What to replace with?
- Invalid column count in CSV input on line 1 Error
- How to check if a string starts with a specified string?
- mysqli_real_connect(): (HY000/2002): No such file or directory
- $wpdb->update or $wpdb->insert results in slashes being added in front of quotes
- Are there dictionaries in php?
- PHP how to make URL something like product.php?id=1
- laravel updateOrCreate method
- How to listen messageSent event in laravel 5.5
- Mixing a PHP variable with a string literal
- Make a HTTPS request through PHP and get response
- How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?
- pdo – Call to a member function prepare() on a non-object
- Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes)
- Compare given date with today
- Difference between $_SERVER[‘DOCUMENT_ROOT’] and $_SERVER[‘HTTP_HOST’]
- Multi-line strings in PHP
- Commands out of sync; you can’t run this command now
- Refresh a page using PHP
- cURL error 60: SSL certificate: unable to get local issuer certificate
- Laravel 5.2 Storage::makeDirectory($dir) is not creating directory
- Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- Replace spaces with a dash in a URL
- Are PDO prepared statements sufficient to prevent SQL injection?
- Message: Trying to access array offset on value of type null [duplicate]
- retrieve data from db and display it in table in php .. see this code whats wrong with it?
- Count how many files in directory PHP
- Simple PHP calculator
- Convert from MySQL datetime to another format with PHP
- Child theme css not overriding parent
- php foreach with multidimensional array
- Convert timestamp to readable date/time PHP
- Creating a php search bar
- header location not working in my php code
- PHP Error: Function name must be a string
- Uncaught Error: Call to undefined function mysql_escape_string()
- What does ‘=' mean in PHP?
- Warning: mysqli_query() expects at least 2 parameters, 1 given. What? [duplicate]
- PHP cURL custom headers
- Laravel 5 MethodNotAllowedHttpException in RouteCollection.php line 201:
- PHP “&” operator
- How to Create Multiple Where Clause Query Using Laravel Eloquent?
- PHP: How to get referrer URL?
- Changing permissions via chmod at runtime errors with “Operation not permitted”
- php – How do I fix this illegal offset type error
- Warning: A non-numeric value encountered
- Proper Format of iframe in PHP?
- How to find the last day of the month from date?
- Getting ’ instead of an apostrophe(‘) in PHP
- php_network_getaddresses: getaddrinfo failed: Name or service not known (0) Failed To Connect..!
- WooCommerce action hooks and overriding templates
- Updating php version on mac
- Composer: Command Not Found
- How to send a GET request from PHP?
- Undefined variable: $_SESSION
- Error:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
- Unzip a file with php
- Difference between require, include, require_once and include_once?
- What does the PHP error message “Notice: Use of undefined constant” mean?
- The character encoding of the HTML document was not declared
- Notice: Undefined offset: 0 in
- How to Sort a Multi-dimensional Array by Value
- How to get time difference in minutes in PHP
- How to write a link like which link to the same page in PHP?
- Download files from server php
- No query results for model [App\Products] Laravel
- Sending POST data without form
- Resetting MySQL Root Password with XAMPP on Localhost
- PHP – syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
- Insert string at specified position
- How can I force users to access my page over HTTPS instead of HTTP?
- How to install a specific version of package using Composer?
- PHP + JQuery – How to use these two together? Please see my example
- Data extraction from /Filter /FlateDecode PDF stream in PHP
- How to use data-saferedirecturl in a tag in PHP?
- PHP date yesterday [duplicate]
- Clear cache in Symfony: `cache:clear` or `rm -rf`?
- Convert timestamp to readable date/time PHP
- create php live clock
- In where shall I use isset() and !empty()
- Converting a UNIX Timestamp to Formatted Date String
- PHP Call to undefined function
- Formatting a number with leading zeros in PHP
- POST an array from an HTML form without javascript
- WordPress get_template_directory_uri() not returning https and only return http
- How wp-cron can run in background if PHP is single threaded?
- Large WordPress CRON job
- Setting up a cron job to auto update a custom field
- my hook or my function wont run in the cronjob
- Php cron job (wp-cron) not working
- Remove Featured Images from Posts Older Than a Certain Date
- Cron job to call php to email last 24 hours posts
- wordpress.org disallowing my plugin becuase of loading core files in cron cpanel file