Skip to content

Instantly share code, notes, and snippets.

View TomDawson's full-sized avatar
🇹🇩

Tom Dawson TomDawson

🇹🇩
View GitHub Profile
@bgarrant
bgarrant / How-to-Setup-Cron-Task-to-Git-Commit-Statamic-Changes-Hourly-on-cPanel-Server.md
Last active February 2, 2023 04:20
How to Setup Cron Task to Git Commit Statamic Changes Hourly on cPanel Server

How to Setup Cron Task to Git Commit Statamic Changes Hourly on cPanel Server

  • Login to your cPanel account (http://yourdomain.com/cpanel)
  • Click on Cron Jobs in the Advanced Section
  • If you would like to receive an email notification when a command produces output, please enter your email address under Cron Email at the top of the Cron Job setup page.
  • Under Add New Cron Job, select Once Per hour ( 0 * * * * ) from the Common Settings Drop Menu
  • Under Command: add cd /home/USERNAME/PATH/TO/REPO && git add --all && git commit -m "Automatic Hourly Commit"
  • Click Add New Cron Job button

If you would like do adjust the frequency, select a different option from the Common Settings Drop Menu or adjust the values for Minute, Hour, Day, Month, Weekday.

@coco-napky
coco-napky / hyper.js
Created March 8, 2017 23:21
Hyper config for git bash in Windows
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',