Rails Date Formats – strftime

Rails Date Formats – strftime Ruby on Rails StrFTime Format Codes Year %Y     year with century 2007 %y     year without century 07 %C     century number (year divided by 100) 20 Month %B     full month name January %b     abbreviated month name Jan %h     same as %b Jan %m     month as number (01-12) Week %U     week number … Continue reading "Rails Date Formats – strftime"

Read More

Linux / Unix – Crontab: no crontab for user

Linux / Unix – Crontab: no crontab for user ? I am trying to set cronjob on a Unix systems by running the crontab -e command. But, I’m getting the following error: How do I fix this issue on a Linux or Unix-like systems? You need to set correct environment variable called EDITOR. It appers … Continue reading "Linux / Unix – Crontab: no crontab for user"

Read More