How to make cron jobs from Windows task scheduler
How to create cron jobs on Windows server with the Windows task scheduler. The first step is to open Windows task scheduler and click Create Task The first step under…
How to create cron jobs on Windows server with the Windows task scheduler. The first step is to open Windows task scheduler and click Create Task The first step under…
Removing duplicate values from an array in PHP by using array_unique(), this will return a new array, based on the input without duplicate values. The second parameter is sort type,…
A current guide on installing and setting up a DayZ Standalone server by using SteamCMD, this guide also includes a server start batch file and a solution to download and…
Check if a process is running on a Linux system such as Ubuntu by using PHP. This is done by using pgrep and checking if its response is empty. pgrep…
A simple system that automatically refreshes an expired OAuth access token if a call is attempted but the token is expired. This post is a continuation of Twitch authentication with…
From May 11th 2020 Twitch has implemented OAuth to its helix API version, now instead of just needing the client id key to make API calls you also need to…
Getting a file’s modified time with PHP is done by using the filemtime() function, this returns the files last modified time in Unix format. An example below which also checks…
Creating a PHP file by using PHP, the concept is the same as creating a text file except you have to enclose the code you want to be in your…
Creating a video from an image and audio file with FFmpeg can be achieved in many different ways, but let’s keep it super simple: ffmpeg -loop -1 -y -i theimage.jpg…
Stopping or cancelling a setInterval call in Javascript involves using clearInterval. You must however use clearInterval on a variable that is assigned to the setInterval you want stopped. setInterval calls…