Linux

Schedule command using at command

Creating commands Type in your terminal: at [schedule] e.g.: at 10:30 am Then inside the at command you can type in your commands like: at> php /var/www/html/yii-application/yii job/my-custom-job param1 param2 Then when you are done adding commands, presst CTRL+D Deleting commands If you don't know...
admin

Run SSH command in background

Do you have to run a big command that requires 30 minutes, 1 hour, 2 hours or 6 hours? Unfortunately SSH connections times out. Here's a simple trick on how to run a ssh command in the background so you can run your command and maybe sleep for a while or continue with your life. In your terminal,...
admin