Results 1 to 1 of 1

Thread: Google Calendar Remind Script

  1. #1
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    780
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Google Calendar Remind Script

    Hi Folks,

    I want to have my Google calendar events displayed in a popup window every so often.

    I have a script that works in the terminal.
    Code:
    #!/bin/bash
    wget https://www.google.com/calendar/ical/url to my calendar/basic.ics
    cat /home/grouchygaijin/basic.ics | ical2rem.pl > ~/.ical2rem
    rm /home/grouchygijin/*.ics
    /home/grouchygaijin/scripts/rg
    (rg is just another script I have that calls a popup window for my remind file.)

    The problem is that if I try to run this script as a cron job (gnome schedule) it chokes when it gets to the part to pipe the basic.ics to ical2rem.pl

    Any idea why this will work if I type the name of the script in the terminal but not work if I try to schedule the script to run automatically?

    I figured it out. I needed to give the full path the the ical2rem.pl script.
    Last edited by GrouchyGaijin; January 15th, 2013 at 01:47 PM. Reason: figured out the problem
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •